public class XMLTokener extends Tokener
| Constructor and Description |
|---|
XMLTokener() |
| Modifier and Type | Method and Description |
|---|---|
XMLTokener |
addPrefix(java.lang.String value) |
java.lang.String |
getPrefix()
Get the Prefix from Tokener my be seperated by &.
|
ReferenceObject |
getStackLast(int offset) |
int |
getStackSize() |
java.lang.Object |
nextValue(BaseItem creator,
boolean allowQuote,
char c)
Get the next value.
|
void |
parseToEntity(AbstractList<?> entityList) |
void |
parseToEntity(SimpleKeyValueList<?,?> entity) |
ReferenceObject |
popStack() |
protected void |
skipEntity()
Skip the Current Entity to >.
|
XMLTokener |
withAllowQuote(boolean value) |
XMLTokener |
withPrefix(java.lang.String value) |
XMLTokener |
withStack(ReferenceObject item)
Add a new Reference Object to Stack.
|
XMLTokener |
withText(java.lang.String value)
Reset the Tokener
|
back, charAt, checkValues, getCurrentChar, getNextString, getNextTag, getStopChars, isEnd, length, next, nextClean, nextStartClean, nextString, nextString, nextValue, position, setIndex, skip, skipPos, stepPos, substring, toArray, toString, toText, withBufferpublic java.lang.Object nextValue(BaseItem creator, boolean allowQuote, char c)
public void parseToEntity(SimpleKeyValueList<?,?> entity)
parseToEntity in class Tokenerprotected void skipEntity()
public XMLTokener withText(java.lang.String value)
Tokenerpublic void parseToEntity(AbstractList<?> entityList)
parseToEntity in class Tokenerpublic java.lang.String getPrefix()
public XMLTokener withPrefix(java.lang.String value)
value - set Prefix.public XMLTokener addPrefix(java.lang.String value)
value - add Prefix to Existing.public XMLTokener withStack(ReferenceObject item)
item - new Reference Objectpublic ReferenceObject popStack()
public int getStackSize()
public ReferenceObject getStackLast(int offset)
offset - Offset from Lastpublic XMLTokener withAllowQuote(boolean value)
value - of AllowQuote