net.ontopia.topicmaps.xml
Class XTM2TopicMapWriter

java.lang.Object
  extended by net.ontopia.topicmaps.xml.XTMTopicMapWriter
      extended by 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, writer
 
Constructor Summary
XTM2TopicMapWriter(java.io.File file)
           
XTM2TopicMapWriter(java.io.File file, java.lang.String encoding)
           
XTM2TopicMapWriter(java.io.OutputStream stream, java.lang.String encoding)
           
XTM2TopicMapWriter(java.lang.String filename)
           
XTM2TopicMapWriter(java.io.Writer writer, java.lang.String encoding)
           
 
Method Summary
protected  XTMVersion getVersion()
          Returns the XTM version of the derived class.
 
Methods inherited from class net.ontopia.topicmaps.xml.XTMTopicMapWriter
getAddIds, getExportSourceLocators, setAddIds, setExportSourceLocators, setFilter, setVersion, setVersion, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XTM2TopicMapWriter

public XTM2TopicMapWriter(java.lang.String filename)
                   throws java.io.IOException
Throws:
java.io.IOException

XTM2TopicMapWriter

public XTM2TopicMapWriter(java.io.File file)
                   throws java.io.IOException
Throws:
java.io.IOException

XTM2TopicMapWriter

public XTM2TopicMapWriter(java.io.File file,
                          java.lang.String encoding)
                   throws java.io.IOException
Throws:
java.io.IOException

XTM2TopicMapWriter

public XTM2TopicMapWriter(java.io.OutputStream stream,
                          java.lang.String encoding)
                   throws java.io.IOException,
                          java.io.UnsupportedEncodingException
Throws:
java.io.IOException
java.io.UnsupportedEncodingException

XTM2TopicMapWriter

public XTM2TopicMapWriter(java.io.Writer writer,
                          java.lang.String encoding)
                   throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getVersion

protected final XTMVersion getVersion()
Returns the XTM version of the derived class.



Copyright © 2000-2012 Ontopia.