|
Protégé-OWL 3.3.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.smi.protegex.owl.writer.rdfxml.rdfwriter.OWLModelWriter
public class OWLModelWriter
User: matthewhorridge
The Univeristy Of Manchester
Medical Informatics Group
Date: Apr 7, 2005
OWLModelWriter
can be used to write out a
TripleStore
in a specified OWLModel
in RDF/XML format.
Constructor Summary | |
---|---|
OWLModelWriter(OWLModel model,
TripleStore tripleStore,
Writer writer)
Creates an object that can be used to write an OWLModel
in RDF/XML format to a specified rdfwriter. |
|
OWLModelWriter(OWLModel model,
TripleStore tripleStore,
XMLWriter xmlWriter)
Creates an object that can be used to write an OWLModel
in RDF/XML format to a specified XMLWriter . |
Method Summary | |
---|---|
protected RDFXMLContentWriter |
getContentWriter(OWLModel model,
TripleStore tripleStore)
|
XMLWriter |
getXmlWriter()
|
void |
write()
Causes the RDF/XML representation of the model to be written. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OWLModelWriter(OWLModel model, TripleStore tripleStore, Writer writer)
OWLModel
in RDF/XML format to a specified rdfwriter.
model
- The model to be serialized to the rdfwriter.tripleStore
- The triplestore that contains the triples to be
serialised.writer
- The Writer
that the RDF/XML representation of the
model should be written to.public OWLModelWriter(OWLModel model, TripleStore tripleStore, XMLWriter xmlWriter)
OWLModel
in RDF/XML format to a specified XMLWriter
. This version
of the constructor takes an XMLWriter
to allow fine grained
control over namespaces etc.
model
- The model to be serialized to the rdfwriter.tripleStore
- The triplestore that contains the triples to be
serialised.xmlWriter
- The XMLWriter
that will do the work of
creating the RDF/XML.Method Detail |
---|
public XMLWriter getXmlWriter()
public void write() throws IOException
IOException
protected RDFXMLContentWriter getContentWriter(OWLModel model, TripleStore tripleStore)
|
Protégé-OWL 3.3.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |