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
ConstructorsConstructorDescriptionCDTAwareParserProfile(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.NodecreateTypedLiteral(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, createLangDirLiteral, createLangLiteral, createNodeFromToken, createQuad, createStringLiteral, createTriple, createTripleTerm, createTripleTerm, createURI, createURI, getBaseURI, getErrorHandler, getFactorRDF, getPrefixMap, isStrictMode, resolveIRI, setBaseIRIMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jena.riot.system.ParserProfile
createTripleNode, createTripleNode
-
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:ParserProfileCreate a literal for a string+datatype- Specified by:
createTypedLiteralin interfaceParserProfile- Overrides:
createTypedLiteralin classParserProfileStd
-