Class AbstractBoxShorthandResolver
java.lang.Object
com.itextpdf.styledxmlparser.css.resolve.shorthand.impl.AbstractBoxShorthandResolver
- All Implemented Interfaces:
IShorthandResolver
- Direct Known Subclasses:
BorderColorShorthandResolver, BorderStyleShorthandResolver, BorderWidthShorthandResolver, MarginShorthandResolver, PaddingShorthandResolver
Abstract
IShorthandResolver implementation for box definitions.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract StringGets the postfix of a property.protected abstract StringGets the prefix of a property.resolveShorthand(String shorthandExpression) Resolves a shorthand expression.
-
Field Details
-
_0_LEFT_1
-
_0_RIGHT_1
-
_0_BOTTOM_1
-
_0_TOP_1
-
-
Constructor Details
-
AbstractBoxShorthandResolver
public AbstractBoxShorthandResolver()
-
-
Method Details
-
getPrefix
-
getPostfix
-
resolveShorthand
Description copied from interface:IShorthandResolverResolves a shorthand expression.- Specified by:
resolveShorthandin interfaceIShorthandResolver- Parameters:
shorthandExpression- the shorthand expression- Returns:
- a list of CSS declaration
-