public interface RDFConsumer
Modifier and Type | Method and Description |
---|---|
void |
addModelAttribte(java.lang.String key,
java.lang.String value)
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 logicalURI,
java.lang.String physicalURI)
Receives the notification that the model being parsed includes another model with supplied URIs.
|
void |
logicalURI(java.lang.String logicalURI)
Receives the logical URI of the model.
|
void |
startModel(java.lang.String physicalURI)
Called when model parsing is started.
|
void |
statementWithLiteralValue(java.lang.String subject,
java.lang.String predicate,
java.lang.String object,
java.lang.String language,
java.lang.String datatype)
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.
|
void startModel(java.lang.String physicalURI) throws org.xml.sax.SAXException
physicalURI
- physical URI of the modelorg.xml.sax.SAXException
void endModel() throws org.xml.sax.SAXException
org.xml.sax.SAXException
void statementWithResourceValue(java.lang.String subject, java.lang.String predicate, java.lang.String object) throws org.xml.sax.SAXException
subject
- URI of the subject resourcepredicate
- URI of the predicate resourceobject
- URI of the object resourceorg.xml.sax.SAXException
void statementWithLiteralValue(java.lang.String subject, java.lang.String predicate, java.lang.String object, java.lang.String language, java.lang.String datatype) throws org.xml.sax.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
)org.xml.sax.SAXException
void logicalURI(java.lang.String logicalURI) throws org.xml.sax.SAXException
logicalURI
- logical URI of the modelorg.xml.sax.SAXException
void includeModel(java.lang.String logicalURI, java.lang.String physicalURI) throws org.xml.sax.SAXException
logicalURI
- logical URI of the modelphysicalURI
- physical URI of the modelorg.xml.sax.SAXException
void addModelAttribte(java.lang.String key, java.lang.String value) throws org.xml.sax.SAXException
key
- the key of the attributevalue
- the value of the attributeorg.xml.sax.SAXException