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 -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbuildDeclarations(CSSName cssName, List<PropertyValue> values, int origin, boolean important, boolean inheritAllowed) Builds a list ofPropertyDeclarationobjects for the CSS propertycssName.protected abstract List<PropertyValue> processValue(CSSName cssName, PropertyValue value) protected 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
-
Constructor Details
-
MultipleBackgroundValueBuilder
private MultipleBackgroundValueBuilder()
-
-
Method Details
-
processValue
-
processValues
protected List<PropertyValue> processValues(CSSName cssName, PropertyValue val1, PropertyValue val2) -
allowsTwoValueItems
protected boolean allowsTwoValueItems() -
buildDeclarations
public List<PropertyDeclaration> buildDeclarations(CSSName cssName, List<PropertyValue> values, int origin, boolean important, boolean inheritAllowed) Description copied from interface:PropertyBuilderBuilds a list ofPropertyDeclarationobjects for the CSS propertycssName.valuesmust containCSSPrimitiveValueobjects.
-