Package snap.util
Class XMLParser.XMLTokenizer
java.lang.Object
snap.parse.Tokenizer
snap.util.XMLParser.XMLTokenizer
- Enclosing class:
- XMLParser
A Tokenizer subclass to read XML contents.
-
Field Summary
Fields inherited from class snap.parse.Tokenizer
_charIndex, _tokenLine, MULTI_LINE_COMMENT, SINGLE_LINE_COMMENT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
Called to return the value of an element and update the char index.boolean
Returns whether the given string is up next.Methods inherited from class snap.parse.Tokenizer
charAt, createTokenForProps, eatChar, getChar, getChar, getCharIndex, getInput, getNextSpecialToken, getNextToken, getRegexes, getTokenDoc, getTokenLine, hasChar, hasChars, length, setCharIndex, setInput, setRegexes, setRegexesForPatternRulesInRule, skipWhiteSpace, tokenizerFailed
-
Constructor Details
-
XMLTokenizer
public XMLTokenizer()
-
-
Method Details
-
getContent
Called to return the value of an element and update the char index. -
isNext
Returns whether the given string is up next.
-