|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.coode.owl.rdfxml.parser.RDFAPITest
public class RDFAPITest
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 07-Dec-2006
Constructor Summary | |
---|---|
RDFAPITest()
|
Method Summary | |
---|---|
void |
addModelAttribte(java.lang.String string,
java.lang.String string1)
Receives the notification that the attribute and its value has been parsed. |
void |
endModel()
Called when model parsing is finished. |
void |
includeModel(java.lang.String string,
java.lang.String string1)
Receives the notification that the model being parsed includes another model with supplied URIs. |
void |
logicalURI(java.lang.String string)
Receives the logical URI of the model. |
static void |
main(java.lang.String[] args)
|
void |
startModel(java.lang.String string)
Called when model parsing is started. |
void |
statementWithLiteralValue(java.lang.String subject,
java.lang.String predicate,
java.lang.String val,
java.lang.String datatype,
java.lang.String lang)
Called when a statement with literal value is added to the model. |
void |
statementWithResourceValue(java.lang.String subject,
java.lang.String predicate,
java.lang.String object)
Called when a statement with resource value is added to the model. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RDFAPITest()
Method Detail |
---|
public static void main(java.lang.String[] args)
public void addModelAttribte(java.lang.String string, java.lang.String string1) throws org.xml.sax.SAXException
RDFConsumer
addModelAttribte
in interface RDFConsumer
string
- the key of the attributestring1
- the value of the attribute
org.xml.sax.SAXException
public void endModel() throws org.xml.sax.SAXException
RDFConsumer
endModel
in interface RDFConsumer
org.xml.sax.SAXException
public void includeModel(java.lang.String string, java.lang.String string1) throws org.xml.sax.SAXException
RDFConsumer
includeModel
in interface RDFConsumer
string
- logical URI of the modelstring1
- physical URI of the model
org.xml.sax.SAXException
public void logicalURI(java.lang.String string) throws org.xml.sax.SAXException
RDFConsumer
logicalURI
in interface RDFConsumer
string
- logical URI of the model
org.xml.sax.SAXException
public void startModel(java.lang.String string) throws org.xml.sax.SAXException
RDFConsumer
startModel
in interface RDFConsumer
string
- physical URI of the model
org.xml.sax.SAXException
public void statementWithLiteralValue(java.lang.String subject, java.lang.String predicate, java.lang.String val, java.lang.String datatype, java.lang.String lang) throws org.xml.sax.SAXException
RDFConsumer
statementWithLiteralValue
in interface RDFConsumer
subject
- URI of the subject resourcepredicate
- URI of the predicate resourceval
- literal object valuedatatype
- the languagelang
- the URI of the literal's datatype (may be null
)
org.xml.sax.SAXException
public void statementWithResourceValue(java.lang.String subject, java.lang.String predicate, java.lang.String object) throws org.xml.sax.SAXException
RDFConsumer
statementWithResourceValue
in interface RDFConsumer
subject
- URI of the subject resourcepredicate
- URI of the predicate resourceobject
- URI of the object resource
org.xml.sax.SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |