java.lang.Object
org.apache.jena.riot.system.ParserProfileWrapper
- All Implemented Interfaces:
ParserProfile
-
Constructor Summary
Constructors -
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) 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
(Node graph, Node subject, Node predicate, Node object, long line, long col) Create a quadcreateStringLiteral
(String lexical, long line, long col) Create a literal for a stringcreateTriple
(Node subject, Node predicate, Node object, long line, long col) Create a triplecreateTripleNode
(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 handler
used by thisParserProfile
boolean
Is this in strict mode?resolveIRI
(String uriStr, long line, long col) Resolve a URI, returning a stringvoid
setBaseIRI
(String baseIRI)
-
Constructor Details
-
ParserProfileWrapper
-
-
Method Details
-
getFactorRDF
Description copied from interface:ParserProfile
- Specified by:
getFactorRDF
in interfaceParserProfile
-
getErrorHandler
Description copied from interface:ParserProfile
Get theerror handler
used by thisParserProfile
- Specified by:
getErrorHandler
in interfaceParserProfile
-
isStrictMode
public boolean isStrictMode()Description copied from interface:ParserProfile
Is this in strict mode?- Specified by:
isStrictMode
in interfaceParserProfile
-
resolveIRI
Description copied from interface:ParserProfile
Resolve a URI, returning a string- Specified by:
resolveIRI
in interfaceParserProfile
-
setBaseIRI
- Specified by:
setBaseIRI
in interfaceParserProfile
-
createTriple
Description copied from interface:ParserProfile
Create a triple- Specified by:
createTriple
in interfaceParserProfile
-
createQuad
Description copied from interface:ParserProfile
Create a quad- Specified by:
createQuad
in interfaceParserProfile
-
createURI
Description copied from interface:ParserProfile
Create a URI Node- Specified by:
createURI
in interfaceParserProfile
-
createTypedLiteral
Description copied from interface:ParserProfile
Create a literal for a string+datatype- Specified by:
createTypedLiteral
in interfaceParserProfile
-
createLangLiteral
Description copied from interface:ParserProfile
Create a literal for a string+language- Specified by:
createLangLiteral
in interfaceParserProfile
-
createStringLiteral
Description copied from interface:ParserProfile
Create a literal for a string- Specified by:
createStringLiteral
in interfaceParserProfile
-
createBlankNode
Description copied from interface:ParserProfile
Create a fresh blank node based on scope and label- Specified by:
createBlankNode
in interfaceParserProfile
-
createBlankNode
Description copied from interface:ParserProfile
Create a fresh blank node- Specified by:
createBlankNode
in interfaceParserProfile
-
createTripleNode
Description copied from interface:ParserProfile
Create a triple node (RDF-star)- Specified by:
createTripleNode
in interfaceParserProfile
-
createTripleNode
Description copied from interface:ParserProfile
Create a triple node (RDF-star)- Specified by:
createTripleNode
in interfaceParserProfile
-
createGraphNode
Description copied from interface:ParserProfile
Create a graph node. This is an N3-formula and not named graphs- Specified by:
createGraphNode
in interfaceParserProfile
-
createNodeFromToken
Description copied from interface:ParserProfile
Make 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:
createNodeFromToken
in interfaceParserProfile
-
create
Description copied from interface:ParserProfile
Make any node from a token as appropriate- Specified by:
create
in interfaceParserProfile
-
getPrefixMap
- Specified by:
getPrefixMap
in interfaceParserProfile
-