|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openjena.atlas.json.io.parserjavacc.javacc.JSON_ParserBase
org.openjena.atlas.json.io.parserjavacc.javacc.JSON_Parser
public class JSON_Parser
Field Summary | |
---|---|
Token |
jj_nt
Next token. |
Token |
token
Current token. |
JSON_ParserTokenManager |
token_source
Generated Token Manager. |
Fields inherited from interface org.openjena.atlas.json.io.parserjavacc.javacc.JSON_ParserConstants |
---|
COLON, COMMA, DECIMAL, DEFAULT, DIGITS, DOUBLE, ECHAR, EOF, EXPONENT, FALSE, INTEGER, LBRACE, LBRACKET, LPAREN, MINUS, NEGATIVE_DECIMAL, NEGATIVE_DOUBLE, NEGATIVE_INTEGER, NULL, PLUS, POSITIVE_DECIMAL, POSITIVE_DOUBLE, POSITIVE_INTEGER, QUOTE_3D, QUOTE_3S, RBRACE, RBRACKET, RPAREN, STRING_LITERAL_LONG1, STRING_LITERAL_LONG2, STRING_LITERAL1, STRING_LITERAL2, tokenImage, TRUE, WS |
Constructor Summary | |
---|---|
JSON_Parser(InputStream stream)
Constructor with InputStream. |
|
JSON_Parser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding |
|
JSON_Parser(JSON_ParserTokenManager tm)
Constructor with generated Token Manager. |
|
JSON_Parser(Reader stream)
Constructor. |
Method Summary | |
---|---|
void |
any()
|
void |
Array()
|
void |
ArrayValue(long line,
long col)
|
void |
disable_tracing()
Disable tracing. |
void |
Elements(Token t)
|
void |
enable_tracing()
Enable tracing. |
void |
False()
|
ParseException |
generateParseException()
Generate ParseException. |
Token |
getNextToken()
Get the next Token. |
Token |
getToken(int index)
Get the specific Token. |
void |
Members(Token t)
|
void |
Null()
|
void |
Number()
|
void |
Object()
|
void |
Pair(Token t)
|
void |
ReInit(InputStream stream)
Reinitialise. |
void |
ReInit(InputStream stream,
String encoding)
Reinitialise. |
void |
ReInit(JSON_ParserTokenManager tm)
Reinitialise. |
void |
ReInit(Reader stream)
Reinitialise. |
void |
SimpleValue()
|
void |
String()
|
void |
True()
|
void |
unit()
|
void |
Value()
|
Methods inherited from class org.openjena.atlas.json.io.parserjavacc.javacc.JSON_ParserBase |
---|
setHandler |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public JSON_ParserTokenManager token_source
public Token token
public Token jj_nt
Constructor Detail |
---|
public JSON_Parser(InputStream stream)
public JSON_Parser(InputStream stream, String encoding)
public JSON_Parser(Reader stream)
public JSON_Parser(JSON_ParserTokenManager tm)
Method Detail |
---|
public final void unit() throws ParseException
ParseException
public final void any() throws ParseException
ParseException
public final void Value() throws ParseException
ParseException
public final void Object() throws ParseException
ParseException
public final void Members(Token t) throws ParseException
ParseException
public final void Pair(Token t) throws ParseException
ParseException
public final void Array() throws ParseException
ParseException
public final void Elements(Token t) throws ParseException
ParseException
public final void ArrayValue(long line, long col) throws ParseException
ParseException
public final void SimpleValue() throws ParseException
ParseException
public final void Number() throws ParseException
ParseException
public final void String() throws ParseException
ParseException
public final void True() throws ParseException
ParseException
public final void False() throws ParseException
ParseException
public final void Null() throws ParseException
ParseException
public void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(JSON_ParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |