com.raritantechnologies.searchApp.sourceMap.taglibrary
Class SourceMapTreeSelector

java.lang.Object
  extended bycom.raritantechnologies.searchApp.sourceMap.taglibrary.SourceMapTreeSelector
All Implemented Interfaces:
IConfigurable

public class SourceMapTreeSelector
extends java.lang.Object
implements IConfigurable

Selects a SourceMap Tree. Used by SourceMapTreeTag to get a context dependent SourceMapTree.

XML Configuration Template:
   <SystemObject type="SourceMapTreeSelector" name="[name of this selector]" 
                    configurableClass="com.raritantechnologies.searchApp.sourceMap.SourceMapTreeSelector" >

       <UseSourceMapTree name="[a sourceMapTreeName]" >

          <!-- Match on set of request parameters -->
          <RequestParams>
            <Param name="[ name of request parameter ]" exactMatch="[ true|false(default) ]" >
              <ValidValues>
                <!-- One or more Value Elements -->
                <Value matchType="[ contains|equals ]" >[ the value ]
              </ValidValues>

            </Param>
          </RequestParams>

          <!-- Match on user properties -->
          <UserParams>
            <Param name="[ name of User attribute ]" exactMatch="[ true|false(default) ]" >
              <ValidValues>
                <!-- One or more Value Elements -->
                <Value matchType="[ contains|equals ]" >[ the value ]
              </ValidValues>
            </Param>
          </UserParams>

       </UseSourceMapTree>

   </SystemObject>
 

Developed by Raritan Technologies .

Author:
Ted Sullivan

Constructor Summary
SourceMapTreeSelector()
           
 
Method Summary
 ISourceMapTreeNode getSourceMapTree(RaritanPageContext pContext)
           
 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

SourceMapTreeSelector

public SourceMapTreeSelector()
Method Detail

getSourceMapTree

public ISourceMapTreeNode getSourceMapTree(RaritanPageContext pContext)

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