public interface RDFConsumer
| Modifier and Type | Method and Description |
|---|---|
void |
addModelAttribte(String key,
String value)
Receives the notification that the attribute and its value has been
parsed.
|
void |
endModel()
Called when model parsing is finished.
|
void |
includeModel(String logicalURI,
String physicalURI)
Receives the notification that the model being parsed includes another
model with supplied URIs.
|
void |
logicalURI(String logicalURI)
Receives the logical URI of the model.
|
void |
startModel(String physicalURI)
Called when model parsing is started.
|
void |
statementWithLiteralValue(String subject,
String predicate,
String object,
String language,
String datatype)
Called when a statement with literal value is added to the model.
|
void |
statementWithResourceValue(String subject,
String predicate,
String object)
Called when a statement with resource value is added to the model.
|
void startModel(String physicalURI) throws SAXException
physicalURI - physical URI of the modelSAXException - sax exceptionvoid endModel()
throws SAXException
SAXException - sax exceptionvoid statementWithResourceValue(String subject, String predicate, String object) throws SAXException
subject - URI of the subject resourcepredicate - URI of the predicate resourceobject - URI of the object resourceSAXException - sax exceptionvoid statementWithLiteralValue(String subject, String predicate, String object, String language, String datatype) throws SAXException
subject - URI of the subject resourcepredicate - URI of the predicate resourceobject - literal object valuelanguage - the languagedatatype - the URI of the literal's datatype (may be null)SAXException - sax exceptionvoid logicalURI(String logicalURI) throws SAXException
logicalURI - logical URI of the modelSAXException - sax exceptionvoid includeModel(String logicalURI, String physicalURI) throws SAXException
logicalURI - logical URI of the modelphysicalURI - physical URI of the modelSAXException - sax exceptionvoid addModelAttribte(String key, String value) throws SAXException
key - the key of the attributevalue - the value of the attributeSAXException - sax exceptionCopyright © 2014 The University of Manchester. All Rights Reserved.