Class GridItemShorthandResolver
java.lang.Object
com.itextpdf.styledxmlparser.css.resolve.shorthand.impl.GridItemShorthandResolver
- All Implemented Interfaces:
IShorthandResolver
- Direct Known Subclasses:
GridColumnShorthandResolver, GridRowShorthandResolver
IShorthandResolver implementation for grid items column/row start and end positions.-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGridItemShorthandResolver(String shorthand) Creates a new shorthand resolver for provided shorthand template -
Method Summary
Modifier and TypeMethodDescriptionresolveShorthand(String shorthandExpression) Resolves a shorthand expression.
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
propertyTemplate
-
-
Constructor Details
-
GridItemShorthandResolver
Creates a new shorthand resolver for provided shorthand template- Parameters:
shorthand- shorthand from which template will be created.
-
-
Method Details
-
resolveShorthand
Description copied from interface:IShorthandResolverResolves a shorthand expression.- Specified by:
resolveShorthandin interfaceIShorthandResolver- Parameters:
shorthandExpression- the shorthand expression- Returns:
- a list of CSS declaration
-