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

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

public class PrefixInspector
extends InspectorBase
implements Inspector


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.hp.hpl.jena.eyeball.Inspector
Inspector.InspectorSet, Inspector.Operations
 
Constructor Summary
PrefixInspector()
           
PrefixInspector(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.
protected  void checkStandardPrefixes(Report r, com.hp.hpl.jena.rdf.model.Model toTest)
           
 void inspectModel(Report r, com.hp.hpl.jena.ontology.OntModel m)
          Inspect the model as a whole.
 
Methods inherited from class com.hp.hpl.jena.eyeball.inspectors.InspectorBase
end, inspectStatement
 
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, inspectStatement
 

Constructor Detail

PrefixInspector

public PrefixInspector(com.hp.hpl.jena.rdf.model.Resource root)

PrefixInspector

public PrefixInspector()
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

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
Overrides:
inspectModel in class InspectorBase

checkStandardPrefixes

protected void checkStandardPrefixes(Report r,
                                     com.hp.hpl.jena.rdf.model.Model toTest)