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
FieldsModifier 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
ConstructorsConstructorDescriptionCDTLiteralParser(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.Nodefinal org.apache.jena.graph.Nodefinal voidDisable tracing.final voidEnable tracing.Generate ParseException.final TokenGet the next Token.final TokengetToken(int index) Get the specific Token.final StringIRI_REF()final StringLangtag()List()final voidListElement(List<CDTValue> l) Map()final voidfinal CDTKeyMapKey()final CDTValueMapValue()final voidfinal voidfinal org.apache.jena.graph.Nodefinal org.apache.jena.graph.NodevoidReInit(InputStream stream) Reinitialise.voidReInit(InputStream stream, String encoding) Reinitialise.voidReinitialise.voidReinitialise.final StringString()final booleanTrace 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.
-