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
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract String
Gets the postfix of a property.protected abstract String
Gets 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:IShorthandResolver
Resolves a shorthand expression.- Specified by:
-
resolveShorthand
in interfaceIShorthandResolver
- Parameters:
-
shorthandExpression
- the shorthand expression - Returns:
- a list of CSS declaration
-