public class XTM2TopicMapExporter extends AbstractTopicMapExporter
| Modifier and Type | Field and Description |
|---|---|
protected AttributesImpl |
atts |
protected static AttributesImpl |
EMPTY_ATTR_LIST |
protected static String |
EMPTY_LOCALNAME |
protected static String |
EMPTY_NAMESPACE |
protected boolean |
export_itemids |
add_ids, filter| Constructor and Description |
|---|
XTM2TopicMapExporter() |
XTM2TopicMapExporter(boolean xtm21)
EXPERIMENTAL: XTM 2.0 or XTM 2.1 output.
|
| Modifier and Type | Method and Description |
|---|---|
void |
export(TopicMapIF tm)
INTERNAL: Default export method.
|
void |
export(TopicMapIF tm,
ContentHandler 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) |
addId, filterCollection, filterOk, getElementId, isValidXMLId, mayCollide, setFilterprotected boolean export_itemids
protected AttributesImpl atts
protected static final AttributesImpl EMPTY_ATTR_LIST
protected static final String EMPTY_NAMESPACE
protected static final String EMPTY_LOCALNAME
public XTM2TopicMapExporter()
public XTM2TopicMapExporter(boolean xtm21)
xtm21 - true to enable XTM 2.1, otherwise XTM 2.0
will be written.public void setExportItemIdentifiers(boolean export_itemids)
public void export(TopicMapIF tm) throws SAXException, IOException
SAXExceptionIOExceptionpublic void export(TopicMapIF tm, ContentHandler dh) throws SAXException
SAXException