public class CheckerIRI extends Object implements NodeChecker
Constructor and Description |
---|
CheckerIRI() |
CheckerIRI(ErrorHandler handler,
org.apache.jena.iri.IRIFactory iriFactory) |
Modifier and Type | Method and Description |
---|---|
boolean |
check(Node node,
long line,
long col) |
boolean |
checkIRI(org.apache.jena.iri.IRI iri,
long line,
long col) |
boolean |
checkURI(Node node,
long line,
long col) |
static void |
iriViolations(org.apache.jena.iri.IRI iri,
ErrorHandler errorHandler)
Process violations on an IRI
Calls the errorhandler on all errors and warnings (as warning).
|
static void |
iriViolations(org.apache.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(org.apache.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).
|
public CheckerIRI()
public CheckerIRI(ErrorHandler handler, org.apache.jena.iri.IRIFactory iriFactory)
public boolean check(Node node, long line, long col)
check
in interface NodeChecker
public final boolean checkURI(Node node, long line, long col)
public final boolean checkIRI(org.apache.jena.iri.IRI iri, long line, long col)
public static void iriViolations(org.apache.jena.iri.IRI iri, ErrorHandler errorHandler)
iri
- IRI to checkerrorHandler
- The error handler to call on each warning or error.public static void iriViolations(org.apache.jena.iri.IRI iri, ErrorHandler errorHandler, long line, long col)
iri
- IRI to checkerrorHandler
- The error handler to call on each warning or error.public static void iriViolations(org.apache.jena.iri.IRI iri, ErrorHandler errorHandler, boolean allowRelativeIRIs, boolean includeIRIwarnings, long line, long col)
Licenced under the Apache License, Version 2.0