java.lang.Object
org.apache.jena.riot.lang.extra.LangParserBase
org.apache.jena.cdt.CDTLiteralParserBase
org.apache.jena.cdt.parser.CDTLiteralParser
- All Implemented Interfaces:
CDTLiteralParserConstants
-
Field Summary
Modifier and TypeFieldDescriptionNext token.Current token.Generated Token Manager.Fields inherited from interface org.apache.jena.cdt.parser.CDTLiteralParserConstants
A2Z, A2ZN, AT, BLANK_NODE_LABEL, COLON, COMMA, DATATYPE, DECIMAL, DEFAULT, DIGITS, DOUBLE, ECHAR, EOF, EXPONENT, FALSE, INTEGER, IRIref, LANGTAG, LBRACE, LBRACKET, NULL, PN_CHARS, PN_CHARS_BASE, PN_CHARS_U, PN_LOCAL, QUOTE_3D, QUOTE_3S, RBRACE, RBRACKET, STRING_LITERAL_LONG1, STRING_LITERAL_LONG2, STRING_LITERAL1, STRING_LITERAL2, tokenImage, TRUE, UNKNOWN, WS
-
Constructor Summary
ConstructorDescriptionCDTLiteralParser
(InputStream stream) Constructor with InputStream.CDTLiteralParser
(InputStream stream, String encoding) Constructor with InputStream and supplied encodingCDTLiteralParser
(Reader stream) Constructor.Constructor with generated Token Manager. -
Method Summary
Modifier and TypeMethodDescriptionfinal org.apache.jena.graph.Node
final org.apache.jena.graph.Node
final void
Disable tracing.final void
Enable tracing.Generate ParseException.final Token
Get the next Token.final Token
getToken
(int index) Get the specific Token.final String
IRI_REF()
final String
Langtag()
List()
final void
ListElement
(List<CDTValue> l) Map()
final void
final CDTKey
MapKey()
final CDTValue
MapValue()
final void
final void
final org.apache.jena.graph.Node
final org.apache.jena.graph.Node
void
ReInit
(InputStream stream) Reinitialise.void
ReInit
(InputStream stream, String encoding) Reinitialise.void
Reinitialise.void
Reinitialise.final String
String()
final boolean
Trace enabled.Methods inherited from class org.apache.jena.riot.lang.extra.LangParserBase
setDest, setProfile
-
Field Details
-
token_source
Generated Token Manager. -
token
Current token. -
jj_nt
Next token.
-
-
Constructor Details
-
CDTLiteralParser
Constructor with InputStream. -
CDTLiteralParser
Constructor with InputStream and supplied encoding -
CDTLiteralParser
Constructor. -
CDTLiteralParser
Constructor with generated Token Manager.
-
-
Method Details
-
List
- Throws:
ParseException
-
NonEmptyListContent
- Throws:
ParseException
-
ListElement
- Throws:
ParseException
-
Map
- Throws:
ParseException
-
NonEmptyMapContent
- Throws:
ParseException
-
MapEntry
- Throws:
ParseException
-
MapKey
- Throws:
ParseException
-
MapValue
- Throws:
ParseException
-
IRI_REF
- Throws:
ParseException
-
BlankNode
- Throws:
ParseException
-
NumericLiteral
- Throws:
ParseException
-
BooleanLiteral
- Throws:
ParseException
-
RDFLiteral
- Throws:
ParseException
-
Langtag
- Throws:
ParseException
-
String
- 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.
-