Class PrimitivePropertyBuilders.Length

java.lang.Object
com.openhtmltopdf.css.parser.property.AbstractPropertyBuilder
com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.Length
All Implemented Interfaces:
PropertyBuilder
Direct Known Subclasses:
PrimitivePropertyBuilders.FSBorderSpacingHorizontal, PrimitivePropertyBuilders.FSBorderSpacingVertical
Enclosing class:
PrimitivePropertyBuilders

private static class PrimitivePropertyBuilders.Length extends AbstractPropertyBuilder
  • Constructor Details

    • Length

      private Length()
  • Method Details

    • buildDeclarations

      public List<PropertyDeclaration> buildDeclarations(CSSName cssName, List<PropertyValue> values, int origin, boolean important, boolean inheritAllowed)
      Description copied from interface: PropertyBuilder
      Builds a list of PropertyDeclaration objects for the CSS property cssName. values must contain CSSPrimitiveValue objects.
    • isNegativeValuesAllowed

      protected boolean isNegativeValuesAllowed()