net.ontopia.topicmaps.xml
Class XTM2TopicMapExporter
java.lang.Object
net.ontopia.topicmaps.xml.AbstractTopicMapExporter
net.ontopia.topicmaps.xml.XTM2TopicMapExporter
public class XTM2TopicMapExporter
- extends AbstractTopicMapExporter
INTERNAL: Exports topic maps to the XTM 2.0 interchange format.
Method Summary |
void |
export(TopicMapIF tm)
INTERNAL: Default export method. |
void |
export(TopicMapIF tm,
org.xml.sax.DocumentHandler dh)
INTERNAL: Traverses a Topic Map and emits SAX document handler events
according to the Topic Map interchange format to the given document
handler. |
void |
setExportItemIdentifiers(boolean export_itemids)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XTM2TopicMapExporter
public XTM2TopicMapExporter()
setExportItemIdentifiers
public void setExportItemIdentifiers(boolean export_itemids)
export
public void export(TopicMapIF tm)
throws org.xml.sax.SAXException,
java.io.IOException
- INTERNAL: Default export method. An XML pretty printer is used and the
output is written to stdout.
- Throws:
org.xml.sax.SAXException
java.io.IOException
export
public void export(TopicMapIF tm,
org.xml.sax.DocumentHandler dh)
throws org.xml.sax.SAXException
- INTERNAL: Traverses a Topic Map and emits SAX document handler events
according to the Topic Map interchange format to the given document
handler.
- Throws:
org.xml.sax.SAXException
Copyright © 2000-2009 Ontopia.