Class ColumnRuleShortHandResolver
java.lang.Object
com.itextpdf.styledxmlparser.css.resolve.shorthand.impl.ColumnRuleShortHandResolver
- All Implemented Interfaces:
IShorthandResolver
Shorthand resolver for the column-rule property.
This property is a shorthand for the column-rule-width, column-rule-style, and column-rule-color properties.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CssEnumValidator
private final CssEnumValidator
private static final org.slf4j.Logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static List
<CssDeclaration> handleExpressionError
(String logMessage, String attribute, String shorthandExpression) private CssDeclaration
processProperty
(String value) resolveShorthand
(String shorthandExpression) Resolves a shorthand expression.
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
borderStyleValidators
-
borderWithValidators
-
-
Constructor Details
-
ColumnRuleShortHandResolver
public ColumnRuleShortHandResolver()Creates a newColumnsShorthandResolver
instance.
-
-
Method Details
-
resolveShorthand
Resolves a shorthand expression.- Specified by:
resolveShorthand
in interfaceIShorthandResolver
- Parameters:
shorthandExpression
- the shorthand expression- Returns:
- a list of CSS declaration
-
processProperty
-
handleExpressionError
private static List<CssDeclaration> handleExpressionError(String logMessage, String attribute, String shorthandExpression)
-