net.ontopia.topicmaps.xml
Class XTM21TopicMapWriter
java.lang.Object
net.ontopia.topicmaps.xml.XTMTopicMapWriter
net.ontopia.topicmaps.xml.XTM21TopicMapWriter
- All Implemented Interfaces:
- TopicMapWriterIF
public final class XTM21TopicMapWriter
- extends XTMTopicMapWriter
PUBLIC: A topic map writer that can write topic maps out into the
interchange syntax defined by the 2010-03-02 draft of XTM 2.1,
as published at http://www.itscj.ipsj.or.jp/sc34/open/1378.htm
- Since:
- 5.1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XTM21TopicMapWriter
public XTM21TopicMapWriter(java.lang.String filename)
throws java.io.IOException
- Throws:
java.io.IOException
XTM21TopicMapWriter
public XTM21TopicMapWriter(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
XTM21TopicMapWriter
public XTM21TopicMapWriter(java.io.File file,
java.lang.String encoding)
throws java.io.IOException
- Throws:
java.io.IOException
XTM21TopicMapWriter
public XTM21TopicMapWriter(java.io.OutputStream stream,
java.lang.String encoding)
throws java.io.IOException,
java.io.UnsupportedEncodingException
- Throws:
java.io.IOException
java.io.UnsupportedEncodingException
XTM21TopicMapWriter
public XTM21TopicMapWriter(java.io.Writer writer,
java.lang.String encoding)
throws java.io.IOException
- PUBLIC: Creates a writer which writes to the given writer and
claims that the file is in the given encoding. Warning:
we do not recommend using this method, as there is
no guarantee that the declared encoding and the real encoding
will
- Throws:
java.io.IOException
getVersion
protected final XTMVersion getVersion()
- Returns the XTM version of the derived class.
Copyright © 2000-2012 Ontopia.