Class FlexFlowShorthandResolver

java.lang.Object
com.itextpdf.styledxmlparser.css.resolve.shorthand.impl.FlexFlowShorthandResolver
All Implemented Interfaces:
IShorthandResolver

public class FlexFlowShorthandResolver extends Object implements IShorthandResolver
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
  • Constructor Details

    • FlexFlowShorthandResolver

      public FlexFlowShorthandResolver()
  • Method Details

    • resolveShorthand

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

      private static List<CssDeclaration> handleExpressionError(String logMessage, String attribute, String shorthandExpression)
    • fillUnresolvedPropertiesWithDefaultValues

      private void fillUnresolvedPropertiesWithDefaultValues(List<CssDeclaration> resolvedProperties)