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
public abstract class AbstractBorderShorthandResolver extends java.lang.Object implements IShorthandResolver
AbstractIShorthandResolver
implementation for borders.
-
-
Constructor Summary
Constructors Constructor Description AbstractBorderShorthandResolver()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract java.lang.String
getPrefix()
Gets the prefix of a property.java.util.List<CssDeclaration>
resolveShorthand(java.lang.String shorthandExpression)
Resolves a shorthand expression.
-
-
-
Field Detail
-
_0_WIDTH
private static final java.lang.String _0_WIDTH
The template for -width properties.- See Also:
- Constant Field Values
-
_0_STYLE
private static final java.lang.String _0_STYLE
The template for -style properties.- See Also:
- Constant Field Values
-
_0_COLOR
private static final java.lang.String _0_COLOR
The template for -color properties.- See Also:
- Constant Field Values
-
-
Method Detail
-
getPrefix
protected abstract java.lang.String getPrefix()
Gets the prefix of a property.- Returns:
- the prefix
-
resolveShorthand
public java.util.List<CssDeclaration> resolveShorthand(java.lang.String shorthandExpression)
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
-
-