public abstract static class Parser.AbstractSyntaxHandler extends Object implements Parser.SyntaxHandler
Parser.SyntaxHandler
.Constructor and Description |
---|
Parser.AbstractSyntaxHandler() |
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 |
whitespace(CharSequence text)
Called when whitespace characters are encountered.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
token
public void comment(CharSequence text)
comment
in interface Parser.SyntaxHandler
text
- the commentpublic void newLine(CharSequence text)
newLine
in interface Parser.SyntaxHandler
text
- the new line character (CR, LF, CR/LF or FF)public void whitespace(CharSequence text)
whitespace
in interface Parser.SyntaxHandler
text
- the whitespace textCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.