public class RDFFragmentExporter extends Object implements TopicMapFragmentWriterIF
| Constructor and Description |
|---|
RDFFragmentExporter(OutputStream out,
String encoding) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
startTopicMap()
PUBLIC: Starts the fragment.
|
public RDFFragmentExporter(OutputStream out, String encoding)
public void exportAll(Iterator<TopicIF> it) throws IOException
exportAll in interface TopicMapFragmentWriterIFIOExceptionpublic void startTopicMap()
startTopicMap in interface TopicMapFragmentWriterIFpublic void exportTopics(Iterator<TopicIF> it) throws IOException
exportTopics in interface TopicMapFragmentWriterIFIOExceptionpublic void exportTopic(TopicIF topic) throws IOException
exportTopic in interface TopicMapFragmentWriterIFIOExceptionpublic void endTopicMap()
throws IOException
endTopicMap in interface TopicMapFragmentWriterIFIOException