|
HTML Parser Home Page | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Generic interface for scanning. Tags needing specialized operations can provide an object that implements this interface via getThisScanner(). By default non-composite tags simply perform the semantic action and return while composite tags will gather their children.
| Method Summary | |
Tag |
scan(Tag tag,
Lexer lexer,
NodeList stack)
Scan the tag. |
| Method Detail |
public 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.
|
© 2004 Somik Raha Mar 14, 2004
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||