com.hp.hpl.jena.eyeball
Class Inspector.InspectorSet

java.lang.Object
  extended by com.hp.hpl.jena.eyeball.Inspector.InspectorSet
All Implemented Interfaces:
Inspector
Enclosing interface:
Inspector

public static final class Inspector.InspectorSet
extends java.lang.Object
implements Inspector


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.hp.hpl.jena.eyeball.Inspector
Inspector.InspectorSet, Inspector.Operations
 
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.
 void end(Report r)
          End the inspection.
 void inspectModel(Report r, com.hp.hpl.jena.ontology.OntModel m)
          Inspect the model as a whole.
 void inspectStatement(Report r, com.hp.hpl.jena.rdf.model.Statement s)
          Inspect a single statement s from the model being inspected.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

inspectModel

public void inspectModel(Report r,
                         com.hp.hpl.jena.ontology.OntModel m)
Description copied from interface: Inspector
Inspect the model as a whole. This is an opportunity to perform arbitrary queries over the model's statements and associated entities, eg its prefix-mappings.

Specified by:
inspectModel in interface Inspector

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

end

public void end(Report r)
Description copied from interface: Inspector
End the inspection. This method is called after all the statements have been individually inspected, so any final analyssi can be done.

Specified by:
end in interface Inspector