Class AbstractPropertyBuilder
java.lang.Object
org.xhtmlrenderer.css.parser.property.AbstractPropertyBuilder
- All Implemented Interfaces:
PropertyBuilder
- Direct Known Subclasses:
BackgroundPropertyBuilder,BorderPropertyBuilders.Border,BorderPropertyBuilders.BorderBottom,BorderPropertyBuilders.BorderLeft,BorderPropertyBuilders.BorderRight,BorderPropertyBuilders.BorderTop,BorderSpacingPropertyBuilder,ContentPropertyBuilder,CounterPropertyBuilder,FontPropertyBuilder,ListStylePropertyBuilder,OneToFourPropertyBuilders.BorderColor,OneToFourPropertyBuilders.BorderRadius,OneToFourPropertyBuilders.BorderStyle,OneToFourPropertyBuilders.BorderWidth,OneToFourPropertyBuilders.Margin,OneToFourPropertyBuilders.Padding,PrimitivePropertyBuilders.BackgroundAttachment,PrimitivePropertyBuilders.BackgroundColor,PrimitivePropertyBuilders.BackgroundImage,PrimitivePropertyBuilders.BackgroundPosition,PrimitivePropertyBuilders.BackgroundRepeat,PrimitivePropertyBuilders.BackgroundSize,PrimitivePropertyBuilders.BorderBottomColor,PrimitivePropertyBuilders.BorderBottomLeftRadius,PrimitivePropertyBuilders.BorderBottomRightRadius,PrimitivePropertyBuilders.BorderBottomStyle,PrimitivePropertyBuilders.BorderBottomWidth,PrimitivePropertyBuilders.BorderCollapse,PrimitivePropertyBuilders.BorderLeftColor,PrimitivePropertyBuilders.BorderLeftStyle,PrimitivePropertyBuilders.BorderLeftWidth,PrimitivePropertyBuilders.BorderRightColor,PrimitivePropertyBuilders.BorderRightStyle,PrimitivePropertyBuilders.BorderRightWidth,PrimitivePropertyBuilders.BorderTopColor,PrimitivePropertyBuilders.BorderTopLeftRadius,PrimitivePropertyBuilders.BorderTopRightRadius,PrimitivePropertyBuilders.BorderTopStyle,PrimitivePropertyBuilders.BorderTopWidth,PrimitivePropertyBuilders.Bottom,PrimitivePropertyBuilders.BoxSizing,PrimitivePropertyBuilders.CaptionSide,PrimitivePropertyBuilders.Clear,PrimitivePropertyBuilders.Color,PrimitivePropertyBuilders.Cursor,PrimitivePropertyBuilders.Display,PrimitivePropertyBuilders.EmptyCells,PrimitivePropertyBuilders.Float,PrimitivePropertyBuilders.FontFamily,PrimitivePropertyBuilders.FontSize,PrimitivePropertyBuilders.FontStyle,PrimitivePropertyBuilders.FontVariant,PrimitivePropertyBuilders.FontWeight,PrimitivePropertyBuilders.FSBorderSpacingHorizontal,PrimitivePropertyBuilders.FSBorderSpacingVertical,PrimitivePropertyBuilders.FSDynamicAutoWidth,PrimitivePropertyBuilders.FSFitImagesToWidth,PrimitivePropertyBuilders.FSFontMetricSrc,PrimitivePropertyBuilders.FSKeepWithInline,PrimitivePropertyBuilders.FSNamedDestination,PrimitivePropertyBuilders.FSPageHeight,PrimitivePropertyBuilders.FSPageOrientation,PrimitivePropertyBuilders.FSPageSequence,PrimitivePropertyBuilders.FSPageWidth,PrimitivePropertyBuilders.FSPDFFontEmbed,PrimitivePropertyBuilders.FSPDFFontEncoding,PrimitivePropertyBuilders.FSTableCellColspan,PrimitivePropertyBuilders.FSTableCellRowspan,PrimitivePropertyBuilders.FSTablePaginate,PrimitivePropertyBuilders.FSTextDecorationExtent,PrimitivePropertyBuilders.Height,PrimitivePropertyBuilders.Hyphens,PrimitivePropertyBuilders.Left,PrimitivePropertyBuilders.LetterSpacing,PrimitivePropertyBuilders.LineHeight,PrimitivePropertyBuilders.ListStyleImage,PrimitivePropertyBuilders.ListStylePosition,PrimitivePropertyBuilders.ListStyleType,PrimitivePropertyBuilders.MarginBottom,PrimitivePropertyBuilders.MarginLeft,PrimitivePropertyBuilders.MarginRight,PrimitivePropertyBuilders.MarginTop,PrimitivePropertyBuilders.MaxHeight,PrimitivePropertyBuilders.MaxWidth,PrimitivePropertyBuilders.MinHeight,PrimitivePropertyBuilders.MinWidth,PrimitivePropertyBuilders.Orphans,PrimitivePropertyBuilders.Overflow,PrimitivePropertyBuilders.PaddingBottom,PrimitivePropertyBuilders.PaddingLeft,PrimitivePropertyBuilders.PaddingRight,PrimitivePropertyBuilders.PaddingTop,PrimitivePropertyBuilders.Page,PrimitivePropertyBuilders.PageBreakAfter,PrimitivePropertyBuilders.PageBreakBefore,PrimitivePropertyBuilders.PageBreakInside,PrimitivePropertyBuilders.Position,PrimitivePropertyBuilders.Right,PrimitivePropertyBuilders.Src,PrimitivePropertyBuilders.TableLayout,PrimitivePropertyBuilders.TabSize,PrimitivePropertyBuilders.TextAlign,PrimitivePropertyBuilders.TextDecoration,PrimitivePropertyBuilders.TextIndent,PrimitivePropertyBuilders.TextTransform,PrimitivePropertyBuilders.Top,PrimitivePropertyBuilders.VerticalAlign,PrimitivePropertyBuilders.Visibility,PrimitivePropertyBuilders.WhiteSpace,PrimitivePropertyBuilders.Widows,PrimitivePropertyBuilders.Width,PrimitivePropertyBuilders.WordSpacing,PrimitivePropertyBuilders.WordWrap,PrimitivePropertyBuilders.ZIndex,QuotesPropertyBuilder,SizePropertyBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildDeclarations(CSSName cssName, List<? extends org.w3c.dom.css.CSSPrimitiveValue> values, int origin, boolean important) protected IdentValuecheckIdent(CSSName cssName, org.w3c.dom.css.CSSPrimitiveValue value) protected voidcheckIdentLengthNumberOrPercentType(CSSName cssName, org.w3c.dom.css.CSSPrimitiveValue value) protected voidcheckIdentLengthOrPercentType(CSSName cssName, org.w3c.dom.css.CSSPrimitiveValue value) protected voidcheckIdentOrColorType(CSSName cssName, org.w3c.dom.css.CSSPrimitiveValue value) protected voidcheckIdentOrIntegerType(CSSName cssName, org.w3c.dom.css.CSSPrimitiveValue value) protected voidcheckIdentOrLengthType(CSSName cssName, org.w3c.dom.css.CSSPrimitiveValue value) protected voidcheckIdentOrNumberType(CSSName cssName, org.w3c.dom.css.CSSPrimitiveValue value) protected voidcheckIdentOrString(CSSName cssName, org.w3c.dom.css.CSSPrimitiveValue value) protected voidcheckIdentOrURIType(CSSName cssName, org.w3c.dom.css.CSSPrimitiveValue value) protected voidcheckIdentType(CSSName cssName, org.w3c.dom.css.CSSPrimitiveValue value) protected List<PropertyDeclaration>checkInheritAll(CSSName[] all, List<? extends org.w3c.dom.css.CSSPrimitiveValue> values, int origin, boolean important, boolean inheritAllowed) protected voidcheckInheritAllowed(org.w3c.dom.css.CSSPrimitiveValue value, boolean inheritAllowed) protected voidcheckInteger(CSSName cssName, org.w3c.dom.css.CSSPrimitiveValue value) protected voidcheckLengthOrPercentType(CSSName cssName, org.w3c.dom.css.CSSPrimitiveValue value) protected voidcheckLengthType(CSSName cssName, org.w3c.dom.css.CSSPrimitiveValue value) protected voidcheckNumberType(CSSName cssName, org.w3c.dom.css.CSSPrimitiveValue value) protected voidcheckStringType(CSSName cssName, org.w3c.dom.css.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(org.w3c.dom.css.CSSPrimitiveValue value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xhtmlrenderer.css.parser.property.PropertyBuilder
buildDeclarations
-
Constructor Details
-
AbstractPropertyBuilder
public AbstractPropertyBuilder()
-
-
Method Details
-
buildDeclarations
public List<PropertyDeclaration> buildDeclarations(CSSName cssName, List<? extends org.w3c.dom.css.CSSPrimitiveValue> values, int origin, boolean important) - Specified by:
buildDeclarationsin interfacePropertyBuilder
-
checkValueCount
-
checkValueCount
-
checkIdentType
-
checkIdentOrURIType
-
checkIdentOrColorType
-
checkIdentOrIntegerType
-
checkInteger
-
checkIdentOrLengthType
-
checkIdentOrNumberType
-
checkIdentLengthOrPercentType
protected void checkIdentLengthOrPercentType(CSSName cssName, org.w3c.dom.css.CSSPrimitiveValue value) -
checkLengthOrPercentType
-
checkLengthType
-
checkNumberType
-
checkStringType
-
checkIdentOrString
-
checkIdentLengthNumberOrPercentType
protected void checkIdentLengthNumberOrPercentType(CSSName cssName, org.w3c.dom.css.CSSPrimitiveValue value) -
isLength
protected boolean isLength(org.w3c.dom.css.CSSPrimitiveValue value) -
checkValidity
-
checkIdent
-
copyOf
-
checkInheritAllowed
protected void checkInheritAllowed(org.w3c.dom.css.CSSPrimitiveValue value, boolean inheritAllowed) -
checkInheritAll
protected List<PropertyDeclaration> checkInheritAll(CSSName[] all, List<? extends org.w3c.dom.css.CSSPrimitiveValue> values, int origin, boolean important, boolean inheritAllowed)
-