|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.uka.ipd.consensus.impl.XTMExportHandler
TODO
| Constructor Summary | |
XTMExportHandler(LoggingManager lm,
OntologyManager om)
|
|
| Method Summary | |
void |
exportOntology(OutputStream out,
boolean exportInternals)
Exports the ontology to a given OutputStream. |
String |
getContentType()
Returns the content (MIME) type that this handler will export, e.h. |
String |
getDescription()
Returns a short description about this export handler. |
String |
getExtension()
Returns the file extensions of the ontology format that this handler can export, e.g. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XTMExportHandler(LoggingManager lm,
OntologyManager om)
| Method Detail |
public void exportOntology(OutputStream out,
boolean exportInternals)
throws IOException,
OntologyManagerException
ExportHandlerThis method is responsible for closing the stream!
exportOntology in interface ExportHandlerout - the OutputStream to write the ontology toexportInternals - a flag if internal element shall be exported (like users and the "created-by" association)
OntologyManagerException - if the ontology cannot be exported for some other reason
IOException - if an IO error occurs while writing the ontologypublic String getContentType()
ExportHandler
getContentType in interface ExportHandlerpublic String getExtension()
ExportHandler
getExtension in interface ExportHandlerpublic String getDescription()
ExportHandler
getDescription in interface ExportHandler
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||