org.w3c.rdf.syntax
Interface RDFConsumer
- All Known Implementing Classes:
- ModelConsumer, DumpConsumer
- public abstract interface RDFConsumer
RDFParser passes triples to RDFConsumer
- See Also:
RDFParser
Method Summary |
void |
addStatement(Resource subject,
Resource predicate,
RDFNode object)
assert is called every time a new statement within
RDF data model is added |
void |
endModel()
end is called when parsing of data is ended |
void |
startModel()
start is called when parsing of data is started |
startModel
public void startModel()
- start is called when parsing of data is started
endModel
public void endModel()
- end is called when parsing of data is ended
addStatement
public void addStatement(Resource subject,
Resource predicate,
RDFNode object)
- assert is called every time a new statement within
RDF data model is added