Module org.apache.jena.arq
Class JSON_Parser
java.lang.Object
org.apache.jena.atlas.json.io.parserjavacc.javacc.JSON_ParserBase
org.apache.jena.atlas.json.io.parserjavacc.javacc.JSON_Parser
- All Implemented Interfaces:
JSON_ParserConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionNext token.Current token.Generated Token Manager.Fields inherited from interface org.apache.jena.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
ConstructorsConstructorDescriptionJSON_Parser
(InputStream stream) Constructor with InputStream.JSON_Parser
(InputStream stream, String encoding) Constructor with InputStream and supplied encodingJSON_Parser
(Reader stream) Constructor.Constructor with generated Token Manager. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
any()
final void
Array()
final void
ArrayValue
(long line, long col) final void
Disable tracing.final void
final void
Enable tracing.final void
False()
Generate ParseException.final Token
Get the next Token.final Token
getToken
(int index) Get the specific Token.final void
final void
Null()
final void
Number()
final void
Object()
final void
void
ReInit
(InputStream stream) Reinitialise.void
ReInit
(InputStream stream, String encoding) Reinitialise.void
Reinitialise.void
Reinitialise.final void
final void
String()
final boolean
Trace enabled.final void
True()
final void
unit()
final void
Value()
Methods inherited from class org.apache.jena.atlas.json.io.parserjavacc.javacc.JSON_ParserBase
setHandler
-
Field Details
-
token_source
Generated Token Manager. -
token
Current token. -
jj_nt
Next token.
-
-
Constructor Details
-
JSON_Parser
Constructor with InputStream. -
JSON_Parser
Constructor with InputStream and supplied encoding -
JSON_Parser
Constructor. -
JSON_Parser
Constructor with generated Token Manager.
-
-
Method Details
-
unit
- Throws:
ParseException
-
any
- Throws:
ParseException
-
Value
- Throws:
ParseException
-
Object
- Throws:
ParseException
-
Members
- Throws:
ParseException
-
Pair
- Throws:
ParseException
-
Array
- Throws:
ParseException
-
Elements
- Throws:
ParseException
-
ArrayValue
- Throws:
ParseException
-
SimpleValue
- Throws:
ParseException
-
Number
- Throws:
ParseException
-
String
- Throws:
ParseException
-
True
- Throws:
ParseException
-
False
- Throws:
ParseException
-
Null
- Throws:
ParseException
-
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
getNextToken
Get the next Token. -
getToken
Get the specific Token. -
generateParseException
Generate ParseException. -
trace_enabled
public final boolean trace_enabled()Trace enabled. -
enable_tracing
public final void enable_tracing()Enable tracing. -
disable_tracing
public final void disable_tracing()Disable tracing.
-