Class AbstractCornersShorthandResolver

java.lang.Object
com.itextpdf.styledxmlparser.css.resolve.shorthand.impl.AbstractCornersShorthandResolver
All Implemented Interfaces:
IShorthandResolver
Direct Known Subclasses:
BorderRadiusShorthandResolver

public abstract class AbstractCornersShorthandResolver extends Object implements IShorthandResolver
Abstract IShorthandResolver implementation for corners definitions.
  • Constructor Details

    • AbstractCornersShorthandResolver

      public AbstractCornersShorthandResolver()
  • Method Details

    • getPrefix

      protected abstract String getPrefix()
      Gets the prefix of a property.
      Returns:
      the prefix
    • getPostfix

      protected abstract String getPostfix()
      Gets the postfix of a property.
      Returns:
      the postfix
    • resolveShorthand

      public List<CssDeclaration> resolveShorthand (String shorthandExpression)
      Description copied from interface: IShorthandResolver
      Resolves a shorthand expression.
      Specified by:
      resolveShorthand in interface IShorthandResolver
      Parameters:
      shorthandExpression - the shorthand expression
      Returns:
      a list of CSS declaration