Package org.w3c.tidy

Class ParserImpl.ParseText

  • All Implemented Interfaces:
    Parser
    Enclosing class:
    ParserImpl

    public static class ParserImpl.ParseText
    extends java.lang.Object
    implements Parser
    Parser for text nodes.
    • Constructor Summary

      Constructors 
      Constructor Description
      ParseText()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void parse​(Lexer lexer, Node field, short mode, int nestingLevel)
      Parse the given node.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ParseText

        public ParseText()
    • Method Detail

      • parse

        public void parse​(Lexer lexer,
                          Node field,
                          short mode,
                          int nestingLevel)
        Description copied from interface: Parser
        Parse the given node.
        Specified by:
        parse in interface Parser
        Parameters:
        lexer - Lexer
        field - 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.
        See Also:
        Parser.parse(org.w3c.tidy.Lexer, org.w3c.tidy.Node, short, int)