Class AbstractPropertyBuilder
java.lang.Object
com.openhtmltopdf.css.parser.property.AbstractPropertyBuilder
- All Implemented Interfaces:
PropertyBuilder
- Direct Known Subclasses:
BackgroundPropertyBuilder,BorderPropertyBuilders.BorderSidePropertyBuilder,BorderSpacingPropertyBuilder,ContentPropertyBuilder,CounterPropertyBuilder,FontPropertyBuilder,ListStylePropertyBuilder,OneToFourPropertyBuilders.OneToFourPropertyBuilder,PrimitiveBackgroundPropertyBuilders.MultipleBackgroundValueBuilder,PrimitivePropertyBuilders.ColOrRowSpan,PrimitivePropertyBuilders.ColumnCount,PrimitivePropertyBuilders.FontFamily,PrimitivePropertyBuilders.FontSize,PrimitivePropertyBuilders.FontWeight,PrimitivePropertyBuilders.FSPDFFontEncoding,PrimitivePropertyBuilders.GenericBorderCornerRadius,PrimitivePropertyBuilders.GenericBorderWidth,PrimitivePropertyBuilders.GenericColor,PrimitivePropertyBuilders.GenericURIWithNone,PrimitivePropertyBuilders.Length,PrimitivePropertyBuilders.LengthLike,PrimitivePropertyBuilders.LengthLikeWithIdent,PrimitivePropertyBuilders.LengthWithIdent,PrimitivePropertyBuilders.LineHeight,PrimitivePropertyBuilders.Page,PrimitivePropertyBuilders.PlainInteger,PrimitivePropertyBuilders.Position,PrimitivePropertyBuilders.SingleIdent,PrimitivePropertyBuilders.TextDecoration,PrimitivePropertyBuilders.TransformOriginPropertyBuilder,PrimitivePropertyBuilders.TransformOriginX,PrimitivePropertyBuilders.TransformOriginY,PrimitivePropertyBuilders.TransformPropertyBuilder,PrimitivePropertyBuilders.ZIndex,QuotesPropertyBuilder,SizePropertyBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildDeclarations(CSSName cssName, List<PropertyValue> values, int origin, boolean important) protected voidcheckAngleType(CSSName cssName, CSSPrimitiveValue value) protected voidprotected IdentValuecheckIdent(CSSName cssName, CSSPrimitiveValue value) protected voidcheckIdentLengthNumberOrPercentType(CSSName cssName, CSSPrimitiveValue value) protected voidcheckIdentLengthOrPercentType(CSSName cssName, CSSPrimitiveValue value) protected voidcheckIdentOrColorType(CSSName cssName, CSSPrimitiveValue value) protected voidcheckIdentOrIntegerType(CSSName cssName, CSSPrimitiveValue value) protected voidcheckIdentOrLengthType(CSSName cssName, CSSPrimitiveValue value) protected voidcheckIdentOrNumberType(CSSName cssName, CSSPrimitiveValue value) protected voidcheckIdentOrString(CSSName cssName, CSSPrimitiveValue value) protected voidcheckIdentOrURIType(CSSName cssName, CSSPrimitiveValue value) protected voidcheckIdentType(CSSName cssName, CSSPrimitiveValue value) protected List<PropertyDeclaration> checkInheritAll(CSSName[] all, List<PropertyValue> values, int origin, boolean important, boolean inheritAllowed) protected voidcheckInheritAllowed(CSSPrimitiveValue value, boolean inheritAllowed) protected voidcheckInteger(CSSName cssName, CSSPrimitiveValue value) protected voidcheckLengthOrPercentType(CSSName cssName, CSSPrimitiveValue value) protected voidcheckLengthType(CSSName cssName, CSSPrimitiveValue value) protected voidcheckNumberType(CSSName cssName, CSSPrimitiveValue value) protected voidcheckValidity(CSSName cssName, BitSet validValues, IdentValue value) protected voidcheckValueCount(CSSName cssName, int expected, int found) protected voidcheckValueCount(CSSName cssName, int min, int max, int found) protected PropertyDeclarationcopyOf(PropertyDeclaration decl, CSSName newName) protected booleanisLength(CSSPrimitiveValue value) static booleanisLengthHelper(CSSPrimitiveValue value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.openhtmltopdf.css.parser.property.PropertyBuilder
buildDeclarations
-
Constructor Details
-
AbstractPropertyBuilder
public AbstractPropertyBuilder()
-
-
Method Details
-
buildDeclarations
public List<PropertyDeclaration> buildDeclarations(CSSName cssName, List<PropertyValue> values, int origin, boolean important) - Specified by:
buildDeclarationsin interfacePropertyBuilder
-
checkValueCount
-
checkValueCount
-
checkIdentType
-
checkIdentOrURIType
-
checkIdentOrColorType
-
checkIdentOrIntegerType
-
checkInteger
-
checkIdentOrLengthType
-
checkIdentOrNumberType
-
checkIdentLengthOrPercentType
-
checkLengthOrPercentType
-
checkLengthType
-
checkNumberType
-
checkAngleType
-
checkIdentOrString
-
checkIdentLengthNumberOrPercentType
-
isLength
-
isLengthHelper
-
checkValidity
-
checkIdent
-
copyOf
-
checkInheritAllowed
-
checkForbidInherit
-
checkInheritAll
protected List<PropertyDeclaration> checkInheritAll(CSSName[] all, List<PropertyValue> values, int origin, boolean important, boolean inheritAllowed)
-