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
public abstract class CounterPropertyBuilder extends AbstractPropertyBuilder
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCounterPropertyBuilder.CounterIncrementstatic classCounterPropertyBuilder.CounterReset -
Constructor Summary
Constructors Constructor Description CounterPropertyBuilder() -
Method Summary
Modifier and Type Method Description ListbuildDeclarations(CSSName cssName, List values, int origin, boolean important, boolean inheritAllowed)Builds a list ofPropertyDeclarationobjects for the CSS propertycssName.protected abstract intgetDefaultValue()Methods inherited from class com.openhtmltopdf.css.parser.property.AbstractPropertyBuilder
buildDeclarations, checkAngleType, checkIdent, checkIdentLengthNumberOrPercentType, checkIdentLengthOrPercentType, checkIdentOrColorType, checkIdentOrIntegerType, checkIdentOrLengthType, checkIdentOrNumberType, checkIdentOrString, checkIdentOrURIType, checkIdentType, checkInheritAll, checkInheritAllowed, checkInteger, checkLengthOrPercentType, checkLengthType, checkNumberType, checkStringType, checkValidity, checkValueCount, checkValueCount, copyOf, isLength
-
Constructor Details
-
CounterPropertyBuilder
public CounterPropertyBuilder()
-
-
Method Details
-
getDefaultValue
protected abstract int getDefaultValue() -
buildDeclarations
public List buildDeclarations(CSSName cssName, List values, int origin, boolean important, boolean inheritAllowed)Description copied from interface:PropertyBuilderBuilds a list ofPropertyDeclarationobjects for the CSS propertycssName.valuesmust containCSSPrimitiveValueobjects.
-