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: 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
ConstructorsConstructorDescriptionXTM2TopicMapWriter(File file) XTM2TopicMapWriter(File file, String encoding) XTM2TopicMapWriter(OutputStream stream, String encoding) XTM2TopicMapWriter(Writer writer, String encoding) -
Method Summary
Modifier and TypeMethodDescriptionprotected XTMVersionReturns 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 Details
-
XTM2TopicMapWriter
- Throws:
IOException
-
XTM2TopicMapWriter
- Throws:
IOException
-
XTM2TopicMapWriter
public XTM2TopicMapWriter(OutputStream stream, String encoding) throws IOException, UnsupportedEncodingException -
XTM2TopicMapWriter
- Throws:
IOException
-
-
Method Details
-
getVersion
Returns the XTM version of the derived class.
-