public class TraditionalParser extends JSONParser
| Modifier and Type | Field and Description |
|---|---|
private boolean |
emptyRoot |
private InputSource |
in |
private long |
nameLineNumber |
AFTER_NAME, AFTER_ROOT, AFTER_VALUE, BEFORE_NAME, BEFORE_ROOT, BEFORE_VALUE| Constructor and Description |
|---|
TraditionalParser(InputSource in,
int maxDepth,
boolean interpretterMode,
boolean ignoreWhirespace,
LocalCache cache) |
| Modifier and Type | Method and Description |
|---|---|
(package private) int |
afterName() |
(package private) int |
afterRoot() |
(package private) int |
afterValue() |
(package private) int |
beforeName() |
(package private) int |
beforeRoot() |
(package private) int |
beforeValue() |
createParseException, createParseException, getBeginType, getDepth, getMaxDepth, getType, getValue, isFirst, isIgnoreWhitespace, isInterpretterMode, next, parseComment, parseEscape, parseLiteral, parseLiteral, parseNumber, parseString, parseWhitespace, pop, push, setprivate InputSource in
private boolean emptyRoot
private long nameLineNumber
public TraditionalParser(InputSource in, int maxDepth, boolean interpretterMode, boolean ignoreWhirespace, LocalCache cache)
int beforeRoot()
throws java.io.IOException
beforeRoot in class JSONParserjava.io.IOExceptionint afterRoot()
throws java.io.IOException
afterRoot in class JSONParserjava.io.IOExceptionint beforeName()
throws java.io.IOException
beforeName in class JSONParserjava.io.IOExceptionint afterName()
throws java.io.IOException
afterName in class JSONParserjava.io.IOExceptionint beforeValue()
throws java.io.IOException
beforeValue in class JSONParserjava.io.IOExceptionint afterValue()
throws java.io.IOException
afterValue in class JSONParserjava.io.IOException