|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.endeca.pipeline.FieldFormatterManipulator
Uses an RTI IFieldFormatter to modify records in an Endeca Pipeline.
<SystemObject configurableClass="com.raritantechnologies.endeca.pipeline.FieldFormatterManipulator"
name="[ name of Java Manipulator ]"
type="EndecaJavaAdapter"
debugFields="[ optional list of fields that will print debug output ]" >
<!-- The set of Endeca properties that will be used by the Raritan FieldFormatter -->
<EndecaInputProperties>
<Property name="[ name of Endeca Record Property ]" fieldID="[ optional field name of IResult ]" />
<!-- etc. . . -->
</EndecaInputProperties>
<!-- The RTI IFieldFormatter to use to manipulate the Record -->
<FieldFormatter class="[ class of com.raritantechnologies.searchApp.IFieldFormatter ]" >
</FieldFormatter>
<!-- Properties to put into the record after formatting -->
<EndecaOutputProperties>
<Property fieldID="[ name of IResult field ]" name="[ name of Record property to add to the Record ]" />
</EndecaOutputProperties>
</SystemObject>
This Java Manipulator uses a Raritan IFieldFormatter to add properties to Endeca records.
| Constructor Summary | |
FieldFormatterManipulator()
|
|
| Method Summary | |
void |
execute(AdapterConfig config,
AdapterHandler handler)
execute the Endeca Pipeline Manipulator method: Converts each Endeca Record into an RTI IResult instance, formats the record using an IFieldFormatter and adds any new fields to the Endeca Record. |
void |
initialize(org.w3c.dom.Element elem)
Initializes the object from an XML tag or element. |
void |
pipelineDone()
|
Record |
process(Record rec)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FieldFormatterManipulator()
| Method Detail |
public void initialize(org.w3c.dom.Element elem)
IConfigurable
initialize in interface IConfigurable
public void execute(AdapterConfig config,
AdapterHandler handler)
throws AdapterException
execute in interface IJavaManipulatorAdapterExceptionpublic Record process(Record rec)
process in interface IJavaManipulatorpublic void pipelineDone()
pipelineDone in interface IJavaManipulator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||