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 |
createGraphNode(Graph graph,
long line,
long col)
Create a graph node.
|
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 |
createTripleNode(Node subject,
Node predicate,
Node object,
long line,
long col)
Create a triple node (RDF*)
|
Node |
createTripleNode(Triple triple,
long line,
long col)
Create a triple node (RDF*)
|
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?
|
String |
resolveIRI(String uriStr,
long line,
long col)
Resolve a URI, returning a string
|
void |
setBaseIRI(String baseIRI) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmakeIRIpublic 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 void setBaseIRI(String baseIRI)
setBaseIRI 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 createTripleNode(Node subject, Node predicate, Node object, long line, long col)
ParserProfilecreateTripleNode in interface ParserProfilepublic Node createTripleNode(Triple triple, long line, long col)
ParserProfilecreateTripleNode in interface ParserProfilepublic Node createGraphNode(Graph graph, long line, long col)
ParserProfilecreateGraphNode 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