|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.stanford.db.rdf.syntax.generic.DumpConsumer
Constructor Summary | |
DumpConsumer()
|
Method Summary | |
void |
addStatement(Statement s)
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 |
NodeFactory |
getNodeFactory()
node factory to be used by the parser for creating resources and literals passed to addStatement |
void |
serialize(Model model,
java.io.Writer w)
Serialize a given model into an XML character output stream. |
void |
startModel()
start is called when parsing of data is started |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DumpConsumer()
Method Detail |
public void startModel()
RDFConsumer
startModel
in interface RDFConsumer
public void endModel()
RDFConsumer
endModel
in interface RDFConsumer
public NodeFactory getNodeFactory()
RDFConsumer
getNodeFactory
in interface RDFConsumer
public void addStatement(Statement s)
RDFConsumer
addStatement
in interface RDFConsumer
public void serialize(Model model, java.io.Writer w) throws SerializationException, java.io.IOException, ModelException
RDFSerializer
serialize
in interface RDFSerializer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |