com.raritantechnologies.searchApp.component
Class ComponentEditor

java.lang.Object
  extended bycom.raritantechnologies.searchApp.component.ComponentEditor
All Implemented Interfaces:
IConfigurable, ICustomTag

public class ComponentEditor
extends java.lang.Object
implements ICustomTag


Constructor Summary
ComponentEditor()
           
ComponentEditor(ComponentTemplate compTemplate)
           
 
Method Summary
 java.lang.String getBody(RaritanPageContext pageContext)
          Returns the tag body.
 ComponentTemplate getComponentTemplate()
           
 java.lang.String getConfigurationXML()
           
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 void initialize(java.util.Map initParams)
           
 boolean isInitialized()
           
 void setAction(java.lang.String action)
           
 void setComponentTemplate(ComponentTemplate compTemplate)
           
 void setTabRenderer(TabRenderer tabRenderer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentEditor

public ComponentEditor()

ComponentEditor

public ComponentEditor(ComponentTemplate compTemplate)
Method Detail

getComponentTemplate

public ComponentTemplate getComponentTemplate()

setComponentTemplate

public void setComponentTemplate(ComponentTemplate compTemplate)

setAction

public void setAction(java.lang.String action)

getBody

public java.lang.String getBody(RaritanPageContext pageContext)
Description copied from interface: ICustomTag
Returns the tag body.

Specified by:
getBody in interface ICustomTag
Parameters:
pageContext - Platform-neutral page context ( can be used in non J2EE environments such as ASP).
Returns:
The tag body text string.

isInitialized

public boolean isInitialized()

getConfigurationXML

public java.lang.String getConfigurationXML()

setTabRenderer

public void setTabRenderer(TabRenderer tabRenderer)

initialize

public void initialize(java.util.Map initParams)
Specified by:
initialize in interface ICustomTag

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