Class BorderShorthandResolver
java.lang.Object
com.itextpdf.styledxmlparser.css.resolve.shorthand.impl.AbstractBorderShorthandResolver
com.itextpdf.styledxmlparser.css.resolve.shorthand.impl.BorderShorthandResolver
- All Implemented Interfaces:
-
IShorthandResolver
AbstractBorderShorthandResolver
implementation for borders.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
Gets the prefix of a property.resolveShorthand
(String shorthandExpression) Resolves a shorthand expression.
-
Constructor Details
-
BorderShorthandResolver
public BorderShorthandResolver()
-
-
Method Details
-
getPrefix
Description copied from class:AbstractBorderShorthandResolver
Gets the prefix of a property.- Specified by:
-
getPrefix
in classAbstractBorderShorthandResolver
- Returns:
- the prefix
-
resolveShorthand
Description copied from interface:IShorthandResolver
Resolves a shorthand expression.- Specified by:
-
resolveShorthand
in interfaceIShorthandResolver
- Overrides:
-
resolveShorthand
in classAbstractBorderShorthandResolver
- Parameters:
-
shorthandExpression
- the shorthand expression - Returns:
- a list of CSS declaration
-