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.
-
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.
-
Constructor Details
-
AbstractBoxShorthandResolver
public AbstractBoxShorthandResolver()
-
-
Method Details
-
getPrefix
Gets the prefix of a property.- Returns:
- the prefix
-
getPostfix
Gets the postfix of a property.- Returns:
- the postfix
-
resolveShorthand
Description copied from interface:IShorthandResolverResolves a shorthand expression.- Specified by:
-
resolveShorthandin interfaceIShorthandResolver - Parameters:
-
shorthandExpression- the shorthand expression - Returns:
- a list of CSS declaration
-