com.raritantechnologies.symantec
Class SevTopicRenderer

java.lang.Object
  extended bycom.raritantechnologies.symantec.SevTopicRenderer
All Implemented Interfaces:
IConfigurable, ITopicRenderer

public class SevTopicRenderer
extends java.lang.Object
implements ITopicRenderer

Renders a topic in Symantec Online Vault advanced query language.

XML Configuration Template:
   <TopicRenderer class="com.raritantechnologies.symantec.SevTopicRenderer">

    <!-- Optional Field mapping -->
    <Fields onlyUseMappedFields="[ true|false(default) ]">
      <Field ID="[ abstract fieldID ]" collectionField="[ name of field in collection (or 'FREETEXT') ]" type="[number|text|date]"/>
    </Fields>

   </TopicREnderer>
 


Constructor Summary
SevTopicRenderer()
           
 
Method Summary
 java.util.HashMap getCommandMap()
           
 SevProxy getSsq()
           
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 java.lang.String renderTopic(Topic topic)
           
 java.lang.String renderTopic(Topic topic, java.util.Set subTopics, boolean skipSubTopics)
           
 void setCommandMap(java.util.HashMap commandMap)
           
 void setSsq(SevProxy ssq)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SevTopicRenderer

public SevTopicRenderer()
Method Detail

renderTopic

public java.lang.String renderTopic(Topic topic)
Specified by:
renderTopic in interface ITopicRenderer

renderTopic

public java.lang.String renderTopic(Topic topic,
                                    java.util.Set subTopics,
                                    boolean skipSubTopics)
Specified by:
renderTopic in interface ITopicRenderer

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

getCommandMap

public java.util.HashMap getCommandMap()

setCommandMap

public void setCommandMap(java.util.HashMap commandMap)

getSsq

public SevProxy getSsq()

setSsq

public void setSsq(SevProxy ssq)