com.hp.hpl.jena.eyeball.inspectors
Class URIInspector

java.lang.Object
  extended by com.hp.hpl.jena.eyeball.inspectors.InspectorBase
      extended by com.hp.hpl.jena.eyeball.inspectors.URIInspector
All Implemented Interfaces:
Inspector

public class URIInspector
extends InspectorBase
implements Inspector


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.hp.hpl.jena.eyeball.Inspector
Inspector.InspectorSet, Inspector.Operations
 
Field Summary
protected  java.util.List<com.hp.hpl.jena.rdf.model.RDFNode> config
           
protected static com.hp.hpl.jena.iri.IRIFactoryI i
           
protected  boolean reportEmptyLocalNames
           
protected  java.util.HashSet<java.lang.String> seen
           
 
Constructor Summary
URIInspector()
           
URIInspector(com.hp.hpl.jena.rdf.model.Resource root)
           
 
Method Summary
 void begin(Report r, com.hp.hpl.jena.ontology.OntModel assume)
          Initialise this Inspector, given the assumed ontologies and the report object which will hold the reports from this inspection.
static java.util.List<com.hp.hpl.jena.rdf.model.RDFNode> getProblemMessagesFor(java.lang.String URI)
           
static java.util.List<com.hp.hpl.jena.rdf.model.RDFNode> getProblemMessagesFor(java.lang.String URI, boolean reportEmptyLocalNames)
           
 void inspectStatement(Report r, com.hp.hpl.jena.rdf.model.Statement s)
          Inspect a single statement s from the model being inspected.
 void inspectURI(Report r, com.hp.hpl.jena.rdf.model.Statement s, java.lang.String URI)
           
 
Methods inherited from class com.hp.hpl.jena.eyeball.inspectors.InspectorBase
end, inspectModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hp.hpl.jena.eyeball.Inspector
end, inspectModel
 

Field Detail

reportEmptyLocalNames

protected boolean reportEmptyLocalNames

config

protected final java.util.List<com.hp.hpl.jena.rdf.model.RDFNode> config

i

protected static final com.hp.hpl.jena.iri.IRIFactoryI i

seen

protected final java.util.HashSet<java.lang.String> seen
Constructor Detail

URIInspector

public URIInspector()

URIInspector

public URIInspector(com.hp.hpl.jena.rdf.model.Resource root)
Method Detail

begin

public void begin(Report r,
                  com.hp.hpl.jena.ontology.OntModel assume)
Description copied from interface: Inspector
Initialise this Inspector, given the assumed ontologies and the report object which will hold the reports from this inspection. This method should declare the report properties this inspector uses -- see the Report documentation.

Specified by:
begin in interface Inspector
Overrides:
begin in class InspectorBase

inspectStatement

public void inspectStatement(Report r,
                             com.hp.hpl.jena.rdf.model.Statement s)
Description copied from interface: Inspector
Inspect a single statement s from the model being inspected. The order of the statements is not specified.

Specified by:
inspectStatement in interface Inspector
Overrides:
inspectStatement in class InspectorBase

inspectURI

public void inspectURI(Report r,
                       com.hp.hpl.jena.rdf.model.Statement s,
                       java.lang.String URI)

getProblemMessagesFor

public static java.util.List<com.hp.hpl.jena.rdf.model.RDFNode> getProblemMessagesFor(java.lang.String URI)

getProblemMessagesFor

public static java.util.List<com.hp.hpl.jena.rdf.model.RDFNode> getProblemMessagesFor(java.lang.String URI,
                                                                                      boolean reportEmptyLocalNames)