Package net.ontopia.topicmaps.core
Interface TopicMapFragmentWriterIF
- All Known Implementing Classes:
RDFFragmentExporter,XTMTopicMapFragmentWriter
public interface TopicMapFragmentWriterIF
PUBLIC: Implementations of this interface can export fragments of
topic maps to some Topic Maps syntax given a collection of topics
to include. Generally, the fragments will include all identifiers,
types, names, occurrences, and associations of the topics.
- Since:
- 5.1.3
-
Method Summary
Modifier and TypeMethodDescriptionvoidPUBLIC: Ends the fragment.voidPUBLIC: Exports all the topics returned by the iterator, and wraps them with startTopicMap() and endTopicMap() calls.voidexportTopic(TopicIF topic) PUBLIC: Exports the given topic.voidexportTopics(Iterator<TopicIF> it) PUBLIC: Exports all the topics returned by the iterator.voidPUBLIC: Starts the fragment.
-
Method Details
-
startTopicMap
PUBLIC: Starts the fragment.- Throws:
IOException
-
exportAll
PUBLIC: Exports all the topics returned by the iterator, and wraps them with startTopicMap() and endTopicMap() calls.- Throws:
IOException
-
exportTopics
PUBLIC: Exports all the topics returned by the iterator.- Throws:
IOException
-
exportTopic
PUBLIC: Exports the given topic.- Throws:
IOException
-
endTopicMap
PUBLIC: Ends the fragment.- Throws:
IOException
-