com.raritantechnologies.autonomy
Class IQLTopicRenderer
java.lang.Object
com.raritantechnologies.autonomy.IQLTopicRenderer
- All Implemented Interfaces:
- IConfigurable, ITopicRenderer
- public class IQLTopicRenderer
- extends java.lang.Object
- implements ITopicRenderer
Renders a topic in Autonomy's Intelligent Query Language (IQL).
XML Configuration Template:
<TopicRenderer class="com.raritantechnologies.autonomy.IQLTopicRenderer">
<!-- 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>
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IQLTopicRenderer
public IQLTopicRenderer()
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