uk.ac.man.cs.img.owl.test
Class OWLTestConsumer

java.lang.Object
  |
  +--uk.ac.man.cs.img.owl.test.OWLTestConsumer
All Implemented Interfaces:
edu.unika.aifb.rdf.api.syntax.RDFConsumer

public class OWLTestConsumer
extends Object
implements edu.unika.aifb.rdf.api.syntax.RDFConsumer

Basic consumer that will handle parsing of OWL Test RDF Manifests and will extract all the ontologies referred to and their claimed species.

Version:
$Id: OWLTestConsumer.java,v 1.1.1.1 2003/10/14 17:10:17 sean_bechhofer Exp $

Constructor Summary
OWLTestConsumer(OWLTest test)
           
 
Method Summary
 void addModelAttribte(String arg0, String arg1)
           
 void endModel()
           
 void includeModel(String arg0, String arg1)
           
 void logicalURI(String arg0)
           
 void startModel(String arg0)
           
 void statementWithLiteralValue(String subject, String predicate, String object, String parseType, String language)
          Called when a statement with literal value is added to the model.
 void statementWithResourceValue(String subj, String pred, String obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWLTestConsumer

public OWLTestConsumer(OWLTest test)
Method Detail

startModel

public void startModel(String arg0)
                throws SAXException
Specified by:
startModel in interface edu.unika.aifb.rdf.api.syntax.RDFConsumer
SAXException
See Also:
RDFConsumer.startModel(String)

endModel

public void endModel()
              throws SAXException
Specified by:
endModel in interface edu.unika.aifb.rdf.api.syntax.RDFConsumer
SAXException
See Also:
RDFConsumer.endModel()

statementWithResourceValue

public void statementWithResourceValue(String subj,
                                       String pred,
                                       String obj)
                                throws SAXException
Specified by:
statementWithResourceValue in interface edu.unika.aifb.rdf.api.syntax.RDFConsumer
SAXException
See Also:
RDFConsumer.statementWithResourceValue(String, String, String)

statementWithLiteralValue

public void statementWithLiteralValue(String subject,
                                      String predicate,
                                      String object,
                                      String parseType,
                                      String language)
                               throws SAXException
Called when a statement with literal value is added to the model.

Specified by:
statementWithLiteralValue in interface edu.unika.aifb.rdf.api.syntax.RDFConsumer
Parameters:
subject - URI of the subject resource
predicate - URI of the predicate resource
object - literal object value
parseType - the parse type of the literal
language - the language
SAXException

logicalURI

public void logicalURI(String arg0)
                throws SAXException
Specified by:
logicalURI in interface edu.unika.aifb.rdf.api.syntax.RDFConsumer
SAXException

includeModel

public void includeModel(String arg0,
                         String arg1)
                  throws SAXException
Specified by:
includeModel in interface edu.unika.aifb.rdf.api.syntax.RDFConsumer
SAXException

addModelAttribte

public void addModelAttribte(String arg0,
                             String arg1)
                      throws SAXException
Specified by:
addModelAttribte in interface edu.unika.aifb.rdf.api.syntax.RDFConsumer
SAXException


WonderWeb