Class BorderPropertyBuilders.BorderSidePropertyBuilder
java.lang.Object
org.openpdf.css.parser.property.AbstractPropertyBuilder
org.openpdf.css.parser.property.BorderPropertyBuilders.BorderSidePropertyBuilder
- All Implemented Interfaces:
PropertyBuilder
- Direct Known Subclasses:
BorderPropertyBuilders.Border, BorderPropertyBuilders.BorderBottom, BorderPropertyBuilders.BorderLeft, BorderPropertyBuilders.BorderRight, BorderPropertyBuilders.BorderTop
- Enclosing class:
BorderPropertyBuilders
private abstract static class BorderPropertyBuilders.BorderSidePropertyBuilder
extends AbstractPropertyBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddAll(List<PropertyDeclaration> result, CSSName[] properties, CSSPrimitiveValue value, StylesheetInfo.Origin origin, boolean important) buildDeclarations(CSSName cssName, List<? extends CSSPrimitiveValue> values, StylesheetInfo.Origin origin, boolean important, boolean inheritAllowed) Builds a list ofPropertyDeclarationobjects for the CSS propertycssName.private @Nullable CSSPrimitiveValueprivate @Nullable CSSPrimitiveValueprotected abstract CSSName[][]private booleanisBorderStyle(CSSPrimitiveValue value) Methods inherited from class AbstractPropertyBuilder
assertFoundUpToValues, buildDeclarations, checkIdent, checkIdentLengthNumberOrPercentType, checkIdentLengthOrPercentType, checkIdentOrColorType, checkIdentOrIntegerType, checkIdentOrLengthType, checkIdentOrNumberType, checkIdentOrString, checkIdentOrURIType, checkIdentType, checkInheritAll, checkInheritAllowed, checkInteger, checkLengthOrPercentType, checkLengthType, checkNumberType, checkValidity, checkValueBetween, copyOf, isLength
-
Constructor Details
-
BorderSidePropertyBuilder
private BorderSidePropertyBuilder()
-
-
Method Details
-
getProperties
-
addAll
private void addAll(List<PropertyDeclaration> result, CSSName[] properties, CSSPrimitiveValue value, StylesheetInfo.Origin origin, boolean important) -
buildDeclarations
public List<PropertyDeclaration> buildDeclarations(CSSName cssName, List<? extends CSSPrimitiveValue> values, StylesheetInfo.Origin origin, boolean important, boolean inheritAllowed) Description copied from interface:PropertyBuilderBuilds a list ofPropertyDeclarationobjects for the CSS propertycssName.valuesmust containCSSPrimitiveValueobjects. -
isBorderStyle
-
convertToBorderWidth
-
convertToBorderColor
-