Class DefaultHtmlValidator

    • Constructor Detail

      • DefaultHtmlValidator

        public DefaultHtmlValidator()
    • Method Detail

      • validate

        public String validate​(String code)
        Description copied from interface: HtmlValidator
        Check if the the given HTML fragment has no syntax errors.
        Specified by:
        validate in interface HtmlValidator
        Parameters:
        code - the HTML to validate
        Returns:
        An error message in case an error exists, or null if everything is ok.