|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.searchApp.component.MasterTemplateEditor
Used to configure a JobProcess job from a set of pluggable component templates.
Individual component template types (such as an ICollectionGateway) are
XML Configuration Template:
<SystemObject name="[ custom tag name ]" type="MasterTemplateEditor"
configurableClass="com.raritantechnologies.searchApp.component.MasterTemplateEditor"
templateType="[ type of template: CollectionBuilder, TreeBuilder, TopicSetBuilder etc... ]" >
<MasterTemplateEditor
templateType="[ template type, e.g. CollectionBuilder, TreeBuilder, TopicSetBuilder etc... ]"
action="[ url for editor actions ]" >
<Components>
<!-- One or more Element elements: -->
<Component name="[ display name of the Element ]"
interfaceClass="[ fully qualified IConfigurable Interface class name ]"
required="[ true|false ]"
configKey="[ name that matches {key} section in the master template ]"
templateFile="[ name of component template file (if no choice available) ]" >
<!-- IXMLDataSource that contains a set of ComponentTemplate(s) that could be used -->
<!-- for this Component. -->
<TemplateSource class="[ class of IXMLDataSource ]" >
</TemplateSource>
</Component>
</Components>
<!-- class that persists final configuration XML -->
<XMLSaver class="[ class of com.raritantechnologies.xml.dataCollection.IXMLPersist ]" >
</XMLSaver>
<TabRenderer class="[ subclass of com.raritantechnologies.searchApp.taglibrary.TabRenderer ]" >
</TabRenderer>
<!-- The Output Configuration Template: -->
<ConfigurationTemplate>
<![CDATA[
]]>
</ConfigurationTemplate>
</MasterTemplateEditor>
| Constructor Summary | |
MasterTemplateEditor()
|
|
| Method Summary | |
java.lang.String |
getBody(RaritanPageContext pageContext)
Returns the tag body. |
TabRenderer |
getTabRenderer()
|
void |
initialize(org.w3c.dom.Element elem)
Initializes the object from an XML tag or element. |
void |
initialize(java.util.Map initParams)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MasterTemplateEditor()
| Method Detail |
public java.lang.String getBody(RaritanPageContext pageContext)
ICustomTag
getBody in interface ICustomTagpageContext - Platform-neutral page context ( can be used in non J2EE environments such as ASP).
public TabRenderer getTabRenderer()
public void initialize(org.w3c.dom.Element elem)
IConfigurable
initialize in interface IConfigurablepublic void initialize(java.util.Map initParams)
initialize in interface ICustomTag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||