java.lang.Object
org.apache.jena.riot.system.ParserProfileWrapper
- All Implemented Interfaces:
ParserProfile
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jena.graph.NodeMake any node from a token as appropriateorg.apache.jena.graph.NodecreateBlankNode(org.apache.jena.graph.Node scope, long line, long col) Create a fresh blank nodeorg.apache.jena.graph.NodecreateBlankNode(org.apache.jena.graph.Node scope, String label, long line, long col) Create a fresh blank node based on scope and labelorg.apache.jena.graph.NodecreateGraphNode(org.apache.jena.graph.Graph graph, long line, long col) Create a graph node.org.apache.jena.graph.NodecreateLangDirLiteral(String lexical, String langTag, String direction, long line, long col) Create a literal for a string+language+base directionorg.apache.jena.graph.NodecreateLangLiteral(String lexical, String langTag, long line, long col) Create a literal for a string+languageorg.apache.jena.graph.NodecreateNodeFromToken(org.apache.jena.graph.Node scope, Token token, long line, long col) Make a node from a token - called after all else has been tried to handle special cases Return null for "no special node recognized"createQuad(org.apache.jena.graph.Node graph, org.apache.jena.graph.Node subject, org.apache.jena.graph.Node predicate, org.apache.jena.graph.Node object, long line, long col) Create a quadorg.apache.jena.graph.NodecreateStringLiteral(String lexical, long line, long col) Create a literal for a stringorg.apache.jena.graph.TriplecreateTriple(org.apache.jena.graph.Node subject, org.apache.jena.graph.Node predicate, org.apache.jena.graph.Node object, long line, long col) Create a tripleorg.apache.jena.graph.NodecreateTripleTerm(org.apache.jena.graph.Node subject, org.apache.jena.graph.Node predicate, org.apache.jena.graph.Node object, long line, long col) Create a triple term (RDF-star)org.apache.jena.graph.NodecreateTripleTerm(org.apache.jena.graph.Triple triple, long line, long col) Create a triple node (RDF-star)org.apache.jena.graph.NodecreateTypedLiteral(String lexical, org.apache.jena.datatypes.RDFDatatype datatype, long line, long col) Create a literal for a string+datatypeorg.apache.jena.graph.NodeCreate a URI Node, where 'uriStr' could also be a blank node.org.apache.jena.graph.NodecreateURI(org.apache.jena.irix.IRIx iriX, long line, long col) Create a URI NodeGet theerror handlerused by thisParserProfile.Get thefactoryfor RDF terms, triples and quads.booleanIs this in strict mode?resolveIRI(String uriStr, long line, long col) Resolve a URI, returning a stringvoidsetBaseIRI(String baseIRI) Methods 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
-
ParserProfileWrapper
-
-
Method Details
-
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
public org.apache.jena.graph.Triple createTriple(org.apache.jena.graph.Node subject, org.apache.jena.graph.Node predicate, org.apache.jena.graph.Node object, long line, long col) Description copied from interface:ParserProfileCreate a triple- Specified by:
createTriplein interfaceParserProfile
-
createQuad
public Quad createQuad(org.apache.jena.graph.Node graph, org.apache.jena.graph.Node subject, org.apache.jena.graph.Node predicate, org.apache.jena.graph.Node object, long line, long col) Description copied from interface:ParserProfileCreate a quad- Specified by:
createQuadin interfaceParserProfile
-
createURI
Description copied from interface:ParserProfileCreate a URI Node, where 'uriStr' could also be a blank node.- Specified by:
createURIin interfaceParserProfile
-
createURI
public org.apache.jena.graph.Node createURI(org.apache.jena.irix.IRIx iriX, long line, long col) Description copied from interface:ParserProfileCreate a URI Node- Specified by:
createURIin interfaceParserProfile
-
createTypedLiteral
public org.apache.jena.graph.Node createTypedLiteral(String lexical, 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
-
createLangLiteral
public org.apache.jena.graph.Node createLangLiteral(String lexical, String langTag, long line, long col) Description copied from interface:ParserProfileCreate a literal for a string+language- Specified by:
createLangLiteralin interfaceParserProfile
-
createLangDirLiteral
public org.apache.jena.graph.Node createLangDirLiteral(String lexical, String langTag, String direction, long line, long col) Description copied from interface:ParserProfileCreate a literal for a string+language+base direction- Specified by:
createLangDirLiteralin interfaceParserProfile
-
createStringLiteral
Description copied from interface:ParserProfileCreate a literal for a string- Specified by:
createStringLiteralin interfaceParserProfile
-
createBlankNode
public org.apache.jena.graph.Node createBlankNode(org.apache.jena.graph.Node scope, String label, long line, long col) Description copied from interface:ParserProfileCreate a fresh blank node based on scope and label- Specified by:
createBlankNodein interfaceParserProfile
-
createBlankNode
public org.apache.jena.graph.Node createBlankNode(org.apache.jena.graph.Node scope, long line, long col) Description copied from interface:ParserProfileCreate a fresh blank node- Specified by:
createBlankNodein interfaceParserProfile
-
createTripleTerm
public org.apache.jena.graph.Node createTripleTerm(org.apache.jena.graph.Node subject, org.apache.jena.graph.Node predicate, org.apache.jena.graph.Node object, long line, long col) Description copied from interface:ParserProfileCreate a triple term (RDF-star)- Specified by:
createTripleTermin interfaceParserProfile
-
createTripleTerm
public org.apache.jena.graph.Node createTripleTerm(org.apache.jena.graph.Triple triple, long line, long col) Description copied from interface:ParserProfileCreate a triple node (RDF-star)- Specified by:
createTripleTermin interfaceParserProfile
-
createGraphNode
public org.apache.jena.graph.Node createGraphNode(org.apache.jena.graph.Graph graph, long line, long col) Description copied from interface:ParserProfileCreate a graph node. This is an N3-formula and not named graphs- Specified by:
createGraphNodein interfaceParserProfile
-
createNodeFromToken
public org.apache.jena.graph.Node createNodeFromToken(org.apache.jena.graph.Node scope, Token token, long line, long col) Description copied from interface:ParserProfileMake a node from a token - called after all else has been tried to handle special cases Return null for "no special node recognized"- Specified by:
createNodeFromTokenin interfaceParserProfile
-
create
Description copied from interface:ParserProfileMake any node from a token as appropriate- Specified by:
createin interfaceParserProfile
-
getBaseURI
- Specified by:
getBaseURIin interfaceParserProfile
-
getPrefixMap
- Specified by:
getPrefixMapin interfaceParserProfile
-
getErrorHandler
Description copied from interface:ParserProfileGet theerror handlerused by thisParserProfile.- Specified by:
getErrorHandlerin interfaceParserProfile
-
getFactorRDF
Description copied from interface:ParserProfileGet thefactoryfor RDF terms, triples and quads.- Specified by:
getFactorRDFin interfaceParserProfile
-