public interface Scanner
Tag scan(Tag tag, Lexer lexer, NodeList stack) throws ParserException
tag - HTML tag to be scanned for identification.lexer - Provides html page access.stack - The parse stack. May contain pending tags that enclose
this tag. Nodes on the stack should be considered incomplete.ParserException - if an unrecoverable problem occurs.