Class AbstractBorderShorthandResolver
java.lang.Object
com.itextpdf.styledxmlparser.css.resolve.shorthand.impl.AbstractBorderShorthandResolver
- All Implemented Interfaces:
IShorthandResolver
- Direct Known Subclasses:
BorderBottomShorthandResolver,BorderLeftShorthandResolver,BorderRightShorthandResolver,BorderShorthandResolver,BorderTopShorthandResolver,OutlineShorthandResolver
Abstract
IShorthandResolver implementation for borders.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract StringGets the prefix of a property.resolveShorthand(String shorthandExpression) Resolves a shorthand expression.
-
Field Details
-
_0_WIDTH
The template for -width properties.- See Also:
-
_0_STYLE
The template for -style properties.- See Also:
-
_0_COLOR
The template for -color properties.- See Also:
-
-
Constructor Details
-
AbstractBorderShorthandResolver
public AbstractBorderShorthandResolver()
-
-
Method Details
-
getPrefix
Gets the prefix of a property.- Returns:
- the prefix
-
resolveShorthand
Description copied from interface:IShorthandResolverResolves a shorthand expression.- Specified by:
resolveShorthandin interfaceIShorthandResolver- Parameters:
shorthandExpression- the shorthand expression- Returns:
- a list of CSS declaration
-