|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.topicmaps.xml.XTMTopicMapFragmentWriter
public class XTMTopicMapFragmentWriter
PUBLIC: A fragment writer for XTM 1.0.
| Constructor Summary | |
|---|---|
XTMTopicMapFragmentWriter(java.io.OutputStream out,
java.lang.String encoding)
|
|
XTMTopicMapFragmentWriter(java.io.Writer out)
|
|
| Method Summary | |
|---|---|
void |
endTopicMap()
PUBLIC: Ends the fragment. |
void |
exportAll(java.util.Iterator<TopicIF> it)
PUBLIC: Exports all the topics returned by the iterator, and wraps them with startTopicMap() and endTopicMap() calls. |
void |
exportTopic(TopicIF topic)
PUBLIC: Exports the given topic. |
void |
exportTopics(java.util.Iterator<TopicIF> it)
PUBLIC: Exports all the topics returned by the iterator. |
boolean |
getUseLocalIds()
PUBLIC: Whether or not internal references of the form '#id' will be exported. |
void |
setUseLocalIds(boolean use_local_ids)
PUBLIC: Controls whether or not internal references of the form '#id' will be exported. |
void |
startTopicMap()
PUBLIC: Starts the fragment. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XTMTopicMapFragmentWriter(java.io.OutputStream out,
java.lang.String encoding)
throws java.io.IOException
java.io.IOException
public XTMTopicMapFragmentWriter(java.io.Writer out)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void startTopicMap()
throws java.io.IOException
startTopicMap in interface TopicMapFragmentWriterIFjava.io.IOException
public void exportAll(java.util.Iterator<TopicIF> it)
throws java.io.IOException
exportAll in interface TopicMapFragmentWriterIFjava.io.IOException
public void exportTopics(java.util.Iterator<TopicIF> it)
throws java.io.IOException
exportTopics in interface TopicMapFragmentWriterIFjava.io.IOException
public void exportTopic(TopicIF topic)
throws java.io.IOException
exportTopic in interface TopicMapFragmentWriterIFjava.io.IOException
public void endTopicMap()
throws java.io.IOException
endTopicMap in interface TopicMapFragmentWriterIFjava.io.IOExceptionpublic void setUseLocalIds(boolean use_local_ids)
public boolean getUseLocalIds()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||