Class PrimitiveBackgroundPropertyBuilders.MultipleBackgroundValueBuilder
- java.lang.Object
-
- com.openhtmltopdf.css.parser.property.AbstractPropertyBuilder
-
- com.openhtmltopdf.css.parser.property.PrimitiveBackgroundPropertyBuilders.MultipleBackgroundValueBuilder
-
- All Implemented Interfaces:
PropertyBuilder
- Direct Known Subclasses:
PrimitiveBackgroundPropertyBuilders.BackgroundImage
,PrimitiveBackgroundPropertyBuilders.BackgroundPosition
,PrimitiveBackgroundPropertyBuilders.BackgroundSize
,PrimitiveBackgroundPropertyBuilders.MultipleIdentValue
- Enclosing class:
- PrimitiveBackgroundPropertyBuilders
private abstract static class PrimitiveBackgroundPropertyBuilders.MultipleBackgroundValueBuilder extends AbstractPropertyBuilder
-
-
Constructor Summary
Constructors Modifier Constructor Description private
MultipleBackgroundValueBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected boolean
allowsTwoValueItems()
java.util.List<PropertyDeclaration>
buildDeclarations(CSSName cssName, java.util.List<PropertyValue> values, int origin, boolean important, boolean inheritAllowed)
Builds a list ofPropertyDeclaration
objects for the CSS propertycssName
.protected abstract java.util.List<PropertyValue>
processValue(CSSName cssName, PropertyValue value)
protected java.util.List<PropertyValue>
processValues(CSSName cssName, PropertyValue val1, PropertyValue val2)
-
Methods inherited from class com.openhtmltopdf.css.parser.property.AbstractPropertyBuilder
buildDeclarations, checkAngleType, checkForbidInherit, checkIdent, checkIdentLengthNumberOrPercentType, checkIdentLengthOrPercentType, checkIdentOrColorType, checkIdentOrIntegerType, checkIdentOrLengthType, checkIdentOrNumberType, checkIdentOrString, checkIdentOrURIType, checkIdentType, checkInheritAll, checkInheritAllowed, checkInteger, checkLengthOrPercentType, checkLengthType, checkNumberType, checkValidity, checkValueCount, checkValueCount, copyOf, isLength, isLengthHelper
-
-
-
-
Method Detail
-
processValue
protected abstract java.util.List<PropertyValue> processValue(CSSName cssName, PropertyValue value)
-
processValues
protected java.util.List<PropertyValue> processValues(CSSName cssName, PropertyValue val1, PropertyValue val2)
-
allowsTwoValueItems
protected boolean allowsTwoValueItems()
-
buildDeclarations
public java.util.List<PropertyDeclaration> buildDeclarations(CSSName cssName, java.util.List<PropertyValue> values, int origin, boolean important, boolean inheritAllowed)
Description copied from interface:PropertyBuilder
Builds a list ofPropertyDeclaration
objects for the CSS propertycssName
.values
must containCSSPrimitiveValue
objects.
-
-