public final class Checker extends Object
Constructor and Description |
---|
Checker() |
Checker(ErrorHandler handler) |
Modifier and Type | Method and Description |
---|---|
boolean |
check(Node node,
long line,
long col) |
boolean |
check(Triple triple,
long line,
long col)
Check a triple - assumes individual nodes are legal
|
boolean |
checkBlank(Node node,
long line,
long col) |
boolean |
checkIRI(org.apache.jena.iri.IRI iri,
long line,
long col) |
boolean |
checkIRI(Node node,
long line,
long col) |
boolean |
checkLiteral(Node node,
long line,
long col) |
boolean |
checkTriple(Node subject,
Node predicate,
Node object,
long line,
long col)
Check a triple against the RDF rules for a triple : subject is a IRI or bnode, predicate is a IRI and object is an bnode, literal or IRI
|
boolean |
checkVar(Node node,
long line,
long col) |
NodeChecker |
getCheckBlankNodes() |
NodeChecker |
getCheckLiterals() |
NodeChecker |
getCheckURIs() |
NodeChecker |
getCheckVars() |
ErrorHandler |
getHandler() |
void |
setCheckBlankNodes(NodeChecker checkBlankNodes) |
void |
setCheckLiterals(NodeChecker checkLiterals) |
void |
setCheckURIs(NodeChecker checkURIs) |
void |
setCheckVars(NodeChecker checkVars) |
void |
setHandler(ErrorHandler handler) |
public Checker()
public Checker(ErrorHandler handler)
public ErrorHandler getHandler()
public void setHandler(ErrorHandler handler)
public boolean check(Node node, long line, long col)
public boolean check(Triple triple, long line, long col)
public boolean checkTriple(Node subject, Node predicate, Node object, long line, long col)
public final boolean checkVar(Node node, long line, long col)
public final boolean checkLiteral(Node node, long line, long col)
public final boolean checkBlank(Node node, long line, long col)
public final boolean checkIRI(Node node, long line, long col)
public final boolean checkIRI(org.apache.jena.iri.IRI iri, long line, long col)
public final NodeChecker getCheckLiterals()
public final void setCheckLiterals(NodeChecker checkLiterals)
public final NodeChecker getCheckURIs()
public final void setCheckURIs(NodeChecker checkURIs)
public final NodeChecker getCheckBlankNodes()
public final void setCheckBlankNodes(NodeChecker checkBlankNodes)
public final NodeChecker getCheckVars()
public final void setCheckVars(NodeChecker checkVars)
Licenced under the Apache License, Version 2.0