org.openjena.riot.checker
Class CheckerIRI
java.lang.Object
org.openjena.riot.checker.CheckerIRI
- All Implemented Interfaces:
- NodeChecker
public class CheckerIRI
- extends java.lang.Object
- implements NodeChecker
|
Method Summary |
boolean |
check(com.hp.hpl.jena.graph.Node node,
long line,
long col)
|
boolean |
checkIRI(com.hp.hpl.jena.iri.IRI iri,
long line,
long col)
|
boolean |
checkURI(com.hp.hpl.jena.graph.Node node,
long line,
long col)
|
static void |
iriViolations(com.hp.hpl.jena.iri.IRI iri,
ErrorHandler errorHandler)
Process violations on an IRI
Calls the errorhandler on all errors and warnings (as warning). |
static void |
iriViolations(com.hp.hpl.jena.iri.IRI iri,
ErrorHandler errorHandler,
boolean allowRelativeIRIs,
boolean includeIRIwarnings,
long line,
long col)
Process violations on an IRI
Calls the errorhandler on all errors and warnings (as warning). |
static void |
iriViolations(com.hp.hpl.jena.iri.IRI iri,
ErrorHandler errorHandler,
long line,
long col)
Process violations on an IRI
Calls the errorhandler on all errors and warnings (as warning). |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckerIRI
public CheckerIRI()
CheckerIRI
public CheckerIRI(ErrorHandler handler,
com.hp.hpl.jena.iri.IRIFactory iriFactory)
check
public boolean check(com.hp.hpl.jena.graph.Node node,
long line,
long col)
- Specified by:
check in interface NodeChecker
checkURI
public final boolean checkURI(com.hp.hpl.jena.graph.Node node,
long line,
long col)
checkIRI
public final boolean checkIRI(com.hp.hpl.jena.iri.IRI iri,
long line,
long col)
iriViolations
public static void iriViolations(com.hp.hpl.jena.iri.IRI iri,
ErrorHandler errorHandler)
- Process violations on an IRI
Calls the errorhandler on all errors and warnings (as warning).
Assumes error handler throws exceptions on errors if needbe
- Parameters:
iri - IRI to checkerrorHandler - The error handler to call on each warning or error.
iriViolations
public static void iriViolations(com.hp.hpl.jena.iri.IRI iri,
ErrorHandler errorHandler,
long line,
long col)
- Process violations on an IRI
Calls the errorhandler on all errors and warnings (as warning).
Assumes error handler throws exceptions on errors if needbe
- Parameters:
iri - IRI to checkerrorHandler - The error handler to call on each warning or error.
iriViolations
public static void iriViolations(com.hp.hpl.jena.iri.IRI iri,
ErrorHandler errorHandler,
boolean allowRelativeIRIs,
boolean includeIRIwarnings,
long line,
long col)
- Process violations on an IRI
Calls the errorhandler on all errors and warnings (as warning).
Assumes error handler throws exceptions on errors if needbe
Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.