Package org.w3c.tidy

Class ParserImpl.ParseHTML

java.lang.Object
org.w3c.tidy.ParserImpl.ParseHTML
All Implemented Interfaces:
Parser
Enclosing class:
ParserImpl

public static class ParserImpl.ParseHTML extends Object implements Parser
Parser for HTML.
  • Constructor Details

    • ParseHTML

      public ParseHTML()
  • Method Details

    • parse

      public void parse(Lexer lexer, Node html, short mode, int nestingLevel) throws ExcessiveNesting
      Description copied from interface: Parser
      Parse the given node.
      Specified by:
      parse in interface Parser
      Parameters:
      lexer - Lexer
      html - node created by the lexer upon seeing the start tag, or by the parser when the start tag is inferred
      mode - content mode
      nestingLevel - The current nesting level of the document. Extremely nested documents are considered an error.
      Throws:
      ExcessiveNesting - When excessive nesting is detected.
      See Also: