public class ParserProfileWrapper extends Object implements ParserProfile
| Constructor and Description |
|---|
ParserProfileWrapper(ParserProfile other) |
| Modifier and Type | Method and Description |
|---|---|
Node |
create(Node currentGraph,
Token token)
Make any node from a token as appropriate
|
Node |
createBlankNode(Node scope,
long line,
long col)
Create a fresh blank node
|
Node |
createBlankNode(Node scope,
String label,
long line,
long col)
Create a fresh blank node based on scope and label
|
Node |
createLangLiteral(String lexical,
String langTag,
long line,
long col)
Create a literal for a string+language
|
Node |
createNodeFromToken(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"
|
Quad |
createQuad(Node graph,
Node subject,
Node predicate,
Node object,
long line,
long col)
Create a quad
|
Node |
createStringLiteral(String lexical,
long line,
long col)
Create a literal for a string
|
Triple |
createTriple(Node subject,
Node predicate,
Node object,
long line,
long col)
Create a triple
|
Node |
createTypedLiteral(String lexical,
RDFDatatype datatype,
long line,
long col)
Create a literal for a string+datatype
|
Node |
createURI(String uriStr,
long line,
long col)
Create a URI Node
|
ErrorHandler |
getErrorHandler()
Get the
error handler used by this ParserProfile |
FactoryRDF |
getFactorRDF()
|
PrefixMap |
getPrefixMap() |
boolean |
isStrictMode()
Is this in strict mode?
|
org.apache.jena.iri.IRI |
makeIRI(String uriStr,
long line,
long col)
Create an IRI
|
String |
resolveIRI(String uriStr,
long line,
long col)
Resolve a URI, returning a string
|
void |
setIRIResolver(IRIResolver resolver) |
public ParserProfileWrapper(ParserProfile other)
public FactoryRDF getFactorRDF()
ParserProfilegetFactorRDF in interface ParserProfilepublic ErrorHandler getErrorHandler()
ParserProfileerror handler used by this ParserProfilegetErrorHandler in interface ParserProfilepublic boolean isStrictMode()
ParserProfileisStrictMode in interface ParserProfilepublic String resolveIRI(String uriStr, long line, long col)
ParserProfileresolveIRI in interface ParserProfilepublic org.apache.jena.iri.IRI makeIRI(String uriStr, long line, long col)
ParserProfilemakeIRI in interface ParserProfilepublic void setIRIResolver(IRIResolver resolver)
setIRIResolver in interface ParserProfilepublic Triple createTriple(Node subject, Node predicate, Node object, long line, long col)
ParserProfilecreateTriple in interface ParserProfilepublic Quad createQuad(Node graph, Node subject, Node predicate, Node object, long line, long col)
ParserProfilecreateQuad in interface ParserProfilepublic Node createURI(String uriStr, long line, long col)
ParserProfilecreateURI in interface ParserProfilepublic Node createTypedLiteral(String lexical, RDFDatatype datatype, long line, long col)
ParserProfilecreateTypedLiteral in interface ParserProfilepublic Node createLangLiteral(String lexical, String langTag, long line, long col)
ParserProfilecreateLangLiteral in interface ParserProfilepublic Node createStringLiteral(String lexical, long line, long col)
ParserProfilecreateStringLiteral in interface ParserProfilepublic Node createBlankNode(Node scope, String label, long line, long col)
ParserProfilecreateBlankNode in interface ParserProfilepublic Node createBlankNode(Node scope, long line, long col)
ParserProfilecreateBlankNode in interface ParserProfilepublic Node createNodeFromToken(Node scope, Token token, long line, long col)
ParserProfilecreateNodeFromToken in interface ParserProfilepublic Node create(Node currentGraph, Token token)
ParserProfilecreate in interface ParserProfilepublic PrefixMap getPrefixMap()
getPrefixMap in interface ParserProfileLicenced under the Apache License, Version 2.0