java.lang.Object
org.apache.jena.riot.system.ParserProfileStd
org.apache.jena.riot.system.CDTAwareParserProfile
- All Implemented Interfaces:
ParserProfile
This is a
ParserProfile
that supports parsing of CDT literals
that occur within the parsed file. The main point is to share the
FactoryRDF
object of this parser profile with the parser of
these literals in order to get the same blank nodes for the same
blank node identifiers both within and outside of the literals, as
well as across multiple CDT literals that occur in the parsed file.-
Constructor Summary
ConstructorDescriptionCDTAwareParserProfile
(FactoryRDF factory, ErrorHandler errorHandler, org.apache.jena.irix.IRIxResolver resolver, PrefixMap prefixMap, Context context, boolean checking, boolean strictMode) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jena.graph.Node
createTypedLiteral
(String lex, org.apache.jena.datatypes.RDFDatatype datatype, long line, long col) Create a literal for a string+datatypeMethods inherited from class org.apache.jena.riot.system.ParserProfileStd
create, createBlankNode, createBlankNode, createGraphNode, createLangLiteral, createNodeFromToken, createQuad, createStringLiteral, createTriple, createTripleNode, createTripleNode, createURI, createURI, getBaseURI, getErrorHandler, getFactorRDF, getPrefixMap, isStrictMode, resolveIRI, setBaseIRI
-
Constructor Details
-
CDTAwareParserProfile
public CDTAwareParserProfile(FactoryRDF factory, ErrorHandler errorHandler, org.apache.jena.irix.IRIxResolver resolver, PrefixMap prefixMap, Context context, boolean checking, boolean strictMode)
-
-
Method Details
-
createTypedLiteral
public org.apache.jena.graph.Node createTypedLiteral(String lex, org.apache.jena.datatypes.RDFDatatype datatype, long line, long col) Description copied from interface:ParserProfile
Create a literal for a string+datatype- Specified by:
createTypedLiteral
in interfaceParserProfile
- Overrides:
createTypedLiteral
in classParserProfileStd
-