java.lang.Object
org.apache.jena.riot.system.ParserProfileStd
- All Implemented Interfaces:
ParserProfile
ParserProfileStd uses a FactoryRDF to create items in the parsing
process.-
Constructor Summary
ConstructorsConstructorDescriptionParserProfileStd(FactoryRDF factory, ErrorHandler errorHandler, IRIxResolver resolver, PrefixMap prefixMap, Context context, boolean checking, boolean strictMode) -
Method Summary
Modifier and TypeMethodDescriptionMake any node from a token as appropriatecreateBlankNode(Node scope, long line, long col) Create a fresh blank nodecreateBlankNode(Node scope, String label, long line, long col) Create a fresh blank node based on scope and labelcreateGraphNode(Graph graph, long line, long col) Create a graph node.createLangLiteral(String lexical, String langTag, long line, long col) Create a literal for a string+languagecreateNodeFromToken(Node scope, Token token, long line, long col) Special token formscreateQuad(Node graph, Node subject, Node predicate, Node object, long line, long col) Create a quad - this operation callcheckTriple(org.apache.jena.graph.Node, org.apache.jena.graph.Node, org.apache.jena.graph.Node, long, long)if checking is enabled.createStringLiteral(String lexical, long line, long col) Create a literal for a stringcreateTriple(Node subject, Node predicate, Node object, long line, long col) Create a triple - this operation callcheckTriple(org.apache.jena.graph.Node, org.apache.jena.graph.Node, org.apache.jena.graph.Node, long, long)if checking is enabled.createTripleNode(Node subject, Node predicate, Node object, long line, long col) Create a triple node (RDF-star)createTripleNode(Triple triple, long line, long col) Create a triple node (RDF-star)createTypedLiteral(String lexical, RDFDatatype datatype, long line, long col) Create a literal for a string+datatypeCreate a URI NodeGet theerror handlerused by thisParserProfilebooleanIs this in strict mode?resolveIRI(String uriStr, long line, long col) Resolve a URI, returning a stringvoidsetBaseIRI(String baseIRIstr)
-
Constructor Details
-
ParserProfileStd
public ParserProfileStd(FactoryRDF factory, ErrorHandler errorHandler, IRIxResolver resolver, PrefixMap prefixMap, Context context, boolean checking, boolean strictMode)
-
-
Method Details
-
getFactorRDF
Description copied from interface:ParserProfile- Specified by:
getFactorRDFin interfaceParserProfile
-
getErrorHandler
Description copied from interface:ParserProfileGet theerror handlerused by thisParserProfile- Specified by:
getErrorHandlerin interfaceParserProfile
-
isStrictMode
public boolean isStrictMode()Description copied from interface:ParserProfileIs this in strict mode?- Specified by:
isStrictModein interfaceParserProfile
-
resolveIRI
Description copied from interface:ParserProfileResolve a URI, returning a string- Specified by:
resolveIRIin interfaceParserProfile
-
setBaseIRI
- Specified by:
setBaseIRIin interfaceParserProfile
-
createTriple
Create a triple - this operation callcheckTriple(org.apache.jena.graph.Node, org.apache.jena.graph.Node, org.apache.jena.graph.Node, long, long)if checking is enabled.- Specified by:
createTriplein interfaceParserProfile
-
createQuad
Create a quad - this operation callcheckTriple(org.apache.jena.graph.Node, org.apache.jena.graph.Node, org.apache.jena.graph.Node, long, long)if checking is enabled.- Specified by:
createQuadin interfaceParserProfile
-
createURI
Description copied from interface:ParserProfileCreate a URI Node- Specified by:
createURIin interfaceParserProfile
-
createTypedLiteral
Description copied from interface:ParserProfileCreate a literal for a string+datatype- Specified by:
createTypedLiteralin interfaceParserProfile
-
createLangLiteral
Description copied from interface:ParserProfileCreate a literal for a string+language- Specified by:
createLangLiteralin interfaceParserProfile
-
createStringLiteral
Description copied from interface:ParserProfileCreate a literal for a string- Specified by:
createStringLiteralin interfaceParserProfile
-
createBlankNode
Description copied from interface:ParserProfileCreate a fresh blank node based on scope and label- Specified by:
createBlankNodein interfaceParserProfile
-
createBlankNode
Description copied from interface:ParserProfileCreate a fresh blank node- Specified by:
createBlankNodein interfaceParserProfile
-
createTripleNode
Description copied from interface:ParserProfileCreate a triple node (RDF-star)- Specified by:
createTripleNodein interfaceParserProfile
-
createTripleNode
Description copied from interface:ParserProfileCreate a triple node (RDF-star)- Specified by:
createTripleNodein interfaceParserProfile
-
createGraphNode
Description copied from interface:ParserProfileCreate a graph node. This is an N3-formula and not named graphs- Specified by:
createGraphNodein interfaceParserProfile
-
createNodeFromToken
Special token forms- Specified by:
createNodeFromTokenin interfaceParserProfile
-
create
Description copied from interface:ParserProfileMake any node from a token as appropriate- Specified by:
createin interfaceParserProfile
-
getPrefixMap
- Specified by:
getPrefixMapin interfaceParserProfile
-