com.raritantechnologies.rql.topic
Class BasicTopicSetExporter

java.lang.Object
  extended bycom.raritantechnologies.rql.topic.BasicTopicSetExporter
All Implemented Interfaces:
IConfigurable, ITopicSetExporter

public class BasicTopicSetExporter
extends java.lang.Object
implements ITopicSetExporter

Renders a TopicSet to a file using an ITopicRenderer.

XML Configuration Template:
  <TopicExporter class="com.raritantechnologies.rql.topic.BasicTopicSetExporter"
                    filename="[ name of file to put rendered Topic String ]" >

    <TopicRenderer class="[ class of com.raritantechnologies.rql.topic.ITopicRenderer ]" >

    </TopicRenderer>

  </TopicExporter>
 

Developed by Raritan Technologies .

Author:
Ted Sullivan

Constructor Summary
BasicTopicSetExporter()
           
 
Method Summary
 void exportTopicSet(TopicSet topicSet)
           
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicTopicSetExporter

public BasicTopicSetExporter()
Method Detail

exportTopicSet

public void exportTopicSet(TopicSet topicSet)
Specified by:
exportTopicSet in interface ITopicSetExporter

initialize

public void initialize(org.w3c.dom.Element elem)
Description copied from interface: IConfigurable
Initializes the object from an XML tag or element. This method is called by the Framework as part of the application initializtion. see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory. Configurable objects that are owned or contained by other configurable objects will be initialized in by the parent object.

Specified by:
initialize in interface IConfigurable