Package net.ontopia.topicmaps.xml
Class XTM2TopicMapWriter
- java.lang.Object
-
- net.ontopia.topicmaps.xml.XTMTopicMapWriter
-
- net.ontopia.topicmaps.xml.XTM2TopicMapWriter
-
- All Implemented Interfaces:
TopicMapWriterIF
public final class XTM2TopicMapWriter extends XTMTopicMapWriter
PUBLIC: A topic map writer that can write topic maps out into the interchange syntax defined by XTM 2.0.- Since:
- 4.0.0
-
-
Field Summary
-
Fields inherited from class net.ontopia.topicmaps.xml.XTMTopicMapWriter
add_ids, export_srclocs, filter, out, PROPERTY_ADD_IDS, PROPERTY_EXPORT_SOURCE_LOCATORS, PROPERTY_FILTER, PROPERTY_VERSION, writer
-
-
Constructor Summary
Constructors Constructor Description XTM2TopicMapWriter(File file)
XTM2TopicMapWriter(File file, String encoding)
XTM2TopicMapWriter(OutputStream stream, String encoding)
XTM2TopicMapWriter(Writer writer, String encoding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected XTMVersion
getVersion()
Returns the XTM version of the derived class.-
Methods inherited from class net.ontopia.topicmaps.xml.XTMTopicMapWriter
getAddIds, getExportSourceLocators, setAddIds, setAdditionalProperties, setExportSourceLocators, setFilter, setVersion, write
-
-
-
-
Constructor Detail
-
XTM2TopicMapWriter
public XTM2TopicMapWriter(File file) throws IOException
- Throws:
IOException
-
XTM2TopicMapWriter
public XTM2TopicMapWriter(File file, String encoding) throws IOException
- Throws:
IOException
-
XTM2TopicMapWriter
public XTM2TopicMapWriter(OutputStream stream, String encoding) throws IOException, UnsupportedEncodingException
-
XTM2TopicMapWriter
public XTM2TopicMapWriter(Writer writer, String encoding) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getVersion
protected XTMVersion getVersion()
Returns the XTM version of the derived class.
-
-