Class AbstractCornersShorthandResolver
java.lang.Object
com.itextpdf.styledxmlparser.css.resolve.shorthand.impl.AbstractCornersShorthandResolver
- All Implemented Interfaces:
IShorthandResolver
- Direct Known Subclasses:
BorderRadiusShorthandResolver
Abstract
IShorthandResolver implementation for corners definitions.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final StringThe template for -bottom-left properties.private static final StringThe template for -bottom-right properties.private static final StringThe template for -top-left properties.private static final StringThe template for -top-right properties. -
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.
-
Field Details
-
_0_BOTTOM_LEFT_1
-
_0_BOTTOM_RIGHT_1
-
_0_TOP_LEFT_1
-
_0_TOP_RIGHT_1
-
-
Constructor Details
-
AbstractCornersShorthandResolver
public AbstractCornersShorthandResolver()
-
-
Method Details
-
getPrefix
-
getPostfix
-
resolveShorthand
Description copied from interface:IShorthandResolverResolves a shorthand expression.- Specified by:
resolveShorthandin interfaceIShorthandResolver- Parameters:
shorthandExpression- the shorthand expression- Returns:
- a list of CSS declaration
-