Top Constructors Methods
com.openhtmltopdf.css.parser.property

public abstract Class AbstractPropertyBuilder

extends Object
implements PropertyBuilder
Class Inheritance
All Implemented Interfaces
com.openhtmltopdf.css.parser.property.PropertyBuilder
Known Direct Subclasses
com.openhtmltopdf.css.parser.property.BackgroundPropertyBuilder, com.openhtmltopdf.css.parser.property.BorderPropertyBuilders.BorderSidePropertyBuilder, com.openhtmltopdf.css.parser.property.BorderSpacingPropertyBuilder, com.openhtmltopdf.css.parser.property.ContentPropertyBuilder, com.openhtmltopdf.css.parser.property.CounterPropertyBuilder, com.openhtmltopdf.css.parser.property.FontPropertyBuilder, com.openhtmltopdf.css.parser.property.ListStylePropertyBuilder, com.openhtmltopdf.css.parser.property.OneToFourPropertyBuilders.OneToFourPropertyBuilder, com.openhtmltopdf.css.parser.property.PrimitiveBackgroundPropertyBuilders.MultipleBackgroundValueBuilder, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.SingleIdent, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.GenericColor, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.GenericBorderWidth, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.GenericBorderCornerRadius, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.LengthWithIdent, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.LengthLikeWithIdent, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.LengthLike, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.ColOrRowSpan, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.PlainInteger, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.Length, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.GenericURIWithNone, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.FontFamily, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.FontSize, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.FontWeight, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.FSPDFFontEncoding, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.LineHeight, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.Page, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.Position, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.TextDecoration, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.ZIndex, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.ColumnCount, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.TransformPropertyBuilder, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.TransformOriginX, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.TransformOriginY, com.openhtmltopdf.css.parser.property.PrimitivePropertyBuilders.TransformOriginPropertyBuilder, com.openhtmltopdf.css.parser.property.QuotesPropertyBuilder, com.openhtmltopdf.css.parser.property.SizePropertyBuilder
Imports
java.util.ArrayList, .BitSet, .List, com.openhtmltopdf.css.constants.CSSName, .IdentValue, com.openhtmltopdf.css.parser.CSSParseException, .CSSPrimitiveValue, .CSSValue, .PropertyValue, com.openhtmltopdf.css.sheet.PropertyDeclaration

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public List<PropertyDeclaration>
protected void
protected void
protected IdentValue
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected List<PropertyDeclaration>
checkInheritAll(CSSName[] all, List<PropertyValue> values, int origin, boolean important, boolean inheritAllowed)

protected void
checkInheritAllowed(CSSPrimitiveValue value, boolean inheritAllowed)

protected void
protected void
protected void
protected void
protected void
checkValidity(CSSName cssName, BitSet validValues, IdentValue value)

protected void
checkValueCount(CSSName cssName, int expected, int found)

protected void
checkValueCount(CSSName cssName, int min, int max, int found)

protected PropertyDeclaration
protected boolean
public static boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AbstractPropertyBuilderback to summary
public AbstractPropertyBuilder()

Method Detail

buildDeclarationsback to summary
public List<PropertyDeclaration> buildDeclarations(CSSName cssName, List<PropertyValue> values, int origin, boolean important)

Implements com.openhtmltopdf.css.parser.property.PropertyBuilder.buildDeclarations.

Annotations
@Override
checkAngleTypeback to summary
protected void checkAngleType(CSSName cssName, CSSPrimitiveValue value)
checkForbidInheritback to summary
protected void checkForbidInherit(CSSPrimitiveValue value)
checkIdentback to summary
protected IdentValue checkIdent(CSSName cssName, CSSPrimitiveValue value)
checkIdentLengthNumberOrPercentTypeback to summary
protected void checkIdentLengthNumberOrPercentType(CSSName cssName, CSSPrimitiveValue value)
checkIdentLengthOrPercentTypeback to summary
protected void checkIdentLengthOrPercentType(CSSName cssName, CSSPrimitiveValue value)
checkIdentOrColorTypeback to summary
protected void checkIdentOrColorType(CSSName cssName, CSSPrimitiveValue value)
checkIdentOrIntegerTypeback to summary
protected void checkIdentOrIntegerType(CSSName cssName, CSSPrimitiveValue value)
checkIdentOrLengthTypeback to summary
protected void checkIdentOrLengthType(CSSName cssName, CSSPrimitiveValue value)
checkIdentOrNumberTypeback to summary
protected void checkIdentOrNumberType(CSSName cssName, CSSPrimitiveValue value)
checkIdentOrStringback to summary
protected void checkIdentOrString(CSSName cssName, CSSPrimitiveValue value)
checkIdentOrURITypeback to summary
protected void checkIdentOrURIType(CSSName cssName, CSSPrimitiveValue value)
checkIdentTypeback to summary
protected void checkIdentType(CSSName cssName, CSSPrimitiveValue value)
checkInheritAllback to summary
protected List<PropertyDeclaration> checkInheritAll(CSSName[] all, List<PropertyValue> values, int origin, boolean important, boolean inheritAllowed)
checkInheritAllowedback to summary
protected void checkInheritAllowed(CSSPrimitiveValue value, boolean inheritAllowed)
checkIntegerback to summary
protected void checkInteger(CSSName cssName, CSSPrimitiveValue value)
checkLengthOrPercentTypeback to summary
protected void checkLengthOrPercentType(CSSName cssName, CSSPrimitiveValue value)
checkLengthTypeback to summary
protected void checkLengthType(CSSName cssName, CSSPrimitiveValue value)
checkNumberTypeback to summary
protected void checkNumberType(CSSName cssName, CSSPrimitiveValue value)
checkValidityback to summary
protected void checkValidity(CSSName cssName, BitSet validValues, IdentValue value)
checkValueCountback to summary
protected void checkValueCount(CSSName cssName, int expected, int found)
checkValueCountback to summary
protected void checkValueCount(CSSName cssName, int min, int max, int found)
copyOfback to summary
protected PropertyDeclaration copyOf(PropertyDeclaration decl, CSSName newName)
isLengthback to summary
protected boolean isLength(CSSPrimitiveValue value)
isLengthHelperback to summary
public static boolean isLengthHelper(CSSPrimitiveValue value)