Class PrimitivePropertyBuilders.GenericColor

java.lang.Object
com.openhtmltopdf.css.parser.property.AbstractPropertyBuilder
com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.GenericColor
All Implemented Interfaces:
PropertyBuilder
Direct Known Subclasses:
PrimitiveBackgroundPropertyBuilders.BackgroundColor, PrimitivePropertyBuilders.BorderBottomColor, PrimitivePropertyBuilders.BorderLeftColor, PrimitivePropertyBuilders.BorderRightColor, PrimitivePropertyBuilders.BorderTopColor, PrimitivePropertyBuilders.Color
Enclosing class:
PrimitivePropertyBuilders

static class PrimitivePropertyBuilders.GenericColor extends AbstractPropertyBuilder
  • Field Details

    • ALLOWED

      private static final BitSet ALLOWED
  • Constructor Details

    • GenericColor

      GenericColor()
  • 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.