|
||||||||||
| 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(OutputStream out,
String encoding)
|
|
XTMTopicMapFragmentWriter(Writer out)
|
|
| Method Summary | |
|---|---|
void |
endTopicMap()
PUBLIC: Ends the fragment. |
void |
exportAll(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(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(OutputStream out,
String encoding)
throws IOException
IOException
public XTMTopicMapFragmentWriter(Writer out)
throws IOException
IOException| Method Detail |
|---|
public void startTopicMap()
throws IOException
startTopicMap in interface TopicMapFragmentWriterIFIOException
public void exportAll(Iterator<TopicIF> it)
throws IOException
exportAll in interface TopicMapFragmentWriterIFIOException
public void exportTopics(Iterator<TopicIF> it)
throws IOException
exportTopics in interface TopicMapFragmentWriterIFIOException
public void exportTopic(TopicIF topic)
throws IOException
exportTopic in interface TopicMapFragmentWriterIFIOException
public void endTopicMap()
throws IOException
endTopicMap in interface TopicMapFragmentWriterIFIOExceptionpublic 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 | |||||||||