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 or 2.1 interchange format.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
export_itemids
protected boolean export_itemids
atts
protected org.xml.sax.helpers.AttributeListImpl atts
EMPTY_ATTR_LIST
protected static final org.xml.sax.helpers.AttributeListImpl EMPTY_ATTR_LIST
XTM2TopicMapExporter
public XTM2TopicMapExporter()
XTM2TopicMapExporter
public XTM2TopicMapExporter(boolean xtm21)
- EXPERIMENTAL: XTM 2.0 or XTM 2.1 output.
- Parameters:
xtm21
- true
to enable XTM 2.1, otherwise XTM 2.0
will be written.
setExportItemIdentifiers
public void setExportItemIdentifiers(boolean export_itemids)
export
public void export(TopicMapIF tm)
throws SAXException,
IOException
- INTERNAL: Default export method. An XML pretty printer is used and the
output is written to stdout.
- Throws:
SAXException
IOException
export
public void export(TopicMapIF tm,
DocumentHandler dh)
throws 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:
SAXException
Copyright © 2000-2012 Ontopia.