Class HTML5Validator

  • All Implemented Interfaces:
    Validator

    public class HTML5Validator
    extends Object
    implements Validator
    Validate HTML5 code of the provided input.
    Since:
    6.0RC1
    Version:
    $Id: 331446db7a8c33b3e20405e98b767e6ef118af19 $
    • Constructor Detail

      • HTML5Validator

        public HTML5Validator()
    • Method Detail

      • setDocument

        public void setDocument​(InputStream document)
        Description copied from interface: Validator
        Set document to validate.
        Specified by:
        setDocument in interface Validator
        Parameters:
        document - document to validate
      • clear

        public void clear()
        Description copied from interface: Validator
        Clear the list of validation errors.
        Specified by:
        clear in interface Validator
      • getName

        public String getName()
        Specified by:
        getName in interface Validator
        Returns:
        the name of the validator