Class ColumnsShorthandResolver
- java.lang.Object
-
- com.itextpdf.styledxmlparser.css.resolve.shorthand.impl.ColumnsShorthandResolver
-
- All Implemented Interfaces:
IShorthandResolver
public class ColumnsShorthandResolver extends java.lang.Object implements IShorthandResolver
Shorthand resolver for the column property. This property is a shorthand for the column-count and column-width properties.
-
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.LoggerLOGGER
-
Constructor Summary
Constructors Constructor Description ColumnsShorthandResolver()Creates a newColumnsShorthandResolverinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static java.util.List<CssDeclaration>handleExpressionError(java.lang.String logMessage, java.lang.String attribute, java.lang.String shorthandExpression)private static CssDeclarationprocessProperty(java.lang.String value)java.util.List<CssDeclaration>resolveShorthand(java.lang.String shorthandExpression)Resolves a shorthand expression.
-
-
-
Constructor Detail
-
ColumnsShorthandResolver
public ColumnsShorthandResolver()
Creates a newColumnsShorthandResolverinstance.
-
-
Method Detail
-
resolveShorthand
public java.util.List<CssDeclaration> resolveShorthand(java.lang.String shorthandExpression)
Resolves a shorthand expression.- Specified by:
resolveShorthandin interfaceIShorthandResolver- Parameters:
shorthandExpression- the shorthand expression- Returns:
- a list of CSS declaration
-
processProperty
private static 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)
-
-