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 Object implements IShorthandResolver
Abstract IShorthandResolver implementation for borders.
  • Constructor Details

    • AbstractBorderShorthandResolver

      public AbstractBorderShorthandResolver()
  • Method Details

    • getPrefix

      protected abstract String getPrefix()
      Gets the prefix of a property.
      Returns:
      the prefix
    • 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