Class ColumnRuleShortHandResolver

  • All Implemented Interfaces:
    IShorthandResolver

    public class ColumnRuleShortHandResolver
    extends java.lang.Object
    implements 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 Detail

      • LOGGER

        private static final org.slf4j.Logger LOGGER
    • Constructor Detail

    • Method Detail

      • resolveShorthand

        public java.util.List<CssDeclaration> resolveShorthand​(java.lang.String shorthandExpression)
        Resolves a shorthand expression.
        Specified by:
        resolveShorthand in interface IShorthandResolver
        Parameters:
        shorthandExpression - the shorthand expression
        Returns:
        a list of CSS declaration
      • processProperty

        private CssDeclaration processProperty​(java.lang.String value)
      • handleExpressionError

        private static java.util.List<CssDeclaration> handleExpressionError​(java.lang.String logMessage,
                                                                            java.lang.String attribute,
                                                                            java.lang.String shorthandExpression)