Class CssDefaultValidator

java.lang.Object
com.itextpdf.styledxmlparser.css.validate.impl.CssDefaultValidator
All Implemented Interfaces:
ICssDeclarationValidator
Direct Known Subclasses:
CssDeviceCmykAwareValidator

public class CssDefaultValidator extends Object implements ICssDeclarationValidator
Class that bundles all the CSS declaration validators. It validates CSS declarations against the accepted html/css standard.
  • Field Details

  • Constructor Details

    • CssDefaultValidator

      public CssDefaultValidator()
  • Method Details

    • isValid

      public boolean isValid (CssDeclaration declaration)
      Validates a CSS declaration.
      Specified by:
      isValid in interface ICssDeclarationValidator
      Parameters:
      declaration - the CSS declaration
      Returns:
      true, if the validation was successful