Class CounterPropertyBuilder
java.lang.Object
org.openpdf.css.parser.property.AbstractPropertyBuilder
org.openpdf.css.parser.property.CounterPropertyBuilder
- All Implemented Interfaces:
PropertyBuilder
- Direct Known Subclasses:
CounterPropertyBuilder.CounterIncrement, CounterPropertyBuilder.CounterReset
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildDeclarations(CSSName cssName, List<? extends CSSPrimitiveValue> values, StylesheetInfo.Origin origin, boolean important, boolean inheritAllowed) Builds a list ofPropertyDeclarationobjects for the CSS propertycssName.private voidcheckNumberIsInteger(CSSName cssName, CSSPrimitiveValue value) protected abstract intMethods inherited from class AbstractPropertyBuilder
assertFoundUpToValues, buildDeclarations, checkIdent, checkIdentLengthNumberOrPercentType, checkIdentLengthOrPercentType, checkIdentOrColorType, checkIdentOrIntegerType, checkIdentOrLengthType, checkIdentOrNumberType, checkIdentOrString, checkIdentOrURIType, checkIdentType, checkInheritAll, checkInheritAllowed, checkInteger, checkLengthOrPercentType, checkLengthType, checkNumberType, checkValidity, checkValueBetween, copyOf, isLength
-
Constructor Details
-
CounterPropertyBuilder
public CounterPropertyBuilder()
-
-
Method Details
-
getDefaultValue
protected abstract int getDefaultValue() -
buildDeclarations
public List<PropertyDeclaration> buildDeclarations(CSSName cssName, List<? extends CSSPrimitiveValue> values, StylesheetInfo.Origin origin, boolean important, boolean inheritAllowed) Description copied from interface:PropertyBuilderBuilds a list ofPropertyDeclarationobjects for the CSS propertycssName.valuesmust containCSSPrimitiveValueobjects. -
checkNumberIsInteger
-