protected static class Values.Parser
extends java.lang.Object
Constructor | Description |
---|---|
Parser(java.lang.String original) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
canConsume(java.lang.String expected) |
|
boolean |
canConsume(java.lang.String expected,
boolean ignoreLeadingAndTrailingWhitespace) |
|
protected boolean |
canConsumeNextToken() |
|
boolean |
hasNext() |
|
protected boolean |
isNext(java.lang.String expected,
boolean ignoreLeadingAndTrailingWhitespace) |
|
int |
mark() |
|
java.lang.String |
next() |
|
java.lang.String |
original() |
|
int |
position() |
|
java.lang.String |
previous() |
|
void |
rewindTo(int position) |
public int position()
public int mark()
public void rewindTo(int position)
public java.lang.String original()
public boolean hasNext()
protected boolean canConsumeNextToken()
public java.lang.String next()
public java.lang.String previous()
public boolean canConsume(java.lang.String expected)
public boolean canConsume(java.lang.String expected, boolean ignoreLeadingAndTrailingWhitespace)
protected boolean isNext(java.lang.String expected, boolean ignoreLeadingAndTrailingWhitespace)