public static interface Parser.SyntaxHandler
Modifier and Type | Method and Description |
---|---|
void |
comment(CharSequence text)
Called for a comment.
|
void |
newLine(CharSequence text)
Indicates that a new line starts.
|
void |
token(CharSequence text)
Called when a token is encountered.
|
void |
whitespace(CharSequence text)
Called when whitespace characters are encountered.
|
void newLine(CharSequence text)
text
- the new line character (CR, LF, CR/LF or FF)void whitespace(CharSequence text)
text
- the whitespace textvoid token(CharSequence text)
text
- the token textvoid comment(CharSequence text)
text
- the commentCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.