public interface Parser
| Modifier and Type | Method and Description |
|---|---|
void |
parse(Lexer lexer,
Node node,
short mode,
int nestingLevel)
Parse the given node.
|
void parse(Lexer lexer, Node node, short mode, int nestingLevel) throws ExcessiveNesting
lexer - Lexernode - node created by the lexer upon seeing the start tag, or by the parser when the start tag is inferredmode - content modenestingLevel - The current nesting level of the document. Extremely nested documents are considered an error.ExcessiveNesting - When excessive nesting is detected.