Package org.w3c.tidy

Interface Parser

    • Method Detail

      • parse

        void parse​(Lexer lexer,
                   Node node,
                   short mode,
                   int nestingLevel)
            throws ExcessiveNesting
        Parse the given node.
        Parameters:
        lexer - Lexer
        node - 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.