Class CounterPropertyBuilder
java.lang.Object
com.openhtmltopdf.css.parser.property.AbstractPropertyBuilder
com.openhtmltopdf.css.parser.property.CounterPropertyBuilder
- All Implemented Interfaces:
PropertyBuilder
- Direct Known Subclasses:
CounterPropertyBuilder.CounterIncrement
,CounterPropertyBuilder.CounterReset
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildDeclarations
(CSSName cssName, List<PropertyValue> values, int origin, boolean important, boolean inheritAllowed) Builds a list ofPropertyDeclaration
objects for the CSS propertycssName
.private void
checkNumberIsInteger
(CSSName cssName, CSSPrimitiveValue value) protected abstract int
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
-
CounterPropertyBuilder
public CounterPropertyBuilder()
-
-
Method Details
-
getDefaultValue
protected abstract int getDefaultValue() -
buildDeclarations
public List<PropertyDeclaration> buildDeclarations(CSSName cssName, 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. -
checkNumberIsInteger
-