|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.jcr.JCROutputProcessor
Stores Results in a JCR content repository.
XML Configuration Template:
<GatewayOutputProcessor class="com.raritantechnologies.jcr.JCROutputProcessor"
jcrConnectionManager="[ name of JCRConnectionManager System Object ]" >
<!-- Locally defined JCRConnectionManager -->
<JCRConnectionManager>
</JCRConnectionManager>
<!-- Map of Result Fields to JCR Node Property Types -->
<FieldPropertyMap>
<!-- One or more Field Elements: -->
<Field ID="[ name of RTI Result ID ]" jcrProperty="[ type of Property STRING|HTTP_URL|FILE_PATH ]" />
<!-- etc . . . -->
</FieldPropertyMap>
</GatewayOutputProcessor>
| Constructor Summary | |
JCROutputProcessor()
|
|
| Method Summary | |
void |
dataComplete()
Data feed is complete. |
java.lang.String |
getConfigurationXML()
|
void |
initialize(org.w3c.dom.Element outputProcElem,
ISearchFieldMap sfMap)
Initialize the GatewayOutputProcessor from XML Configuration Element. |
void |
initialize(java.util.Map initParameters)
Used for dynamic initialization (connection, collection name, file name, etc.) |
java.lang.String |
processData(IResultSet data)
returns name of XML File created/appended. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JCROutputProcessor()
| Method Detail |
public java.lang.String processData(IResultSet data)
IGatewayOutputProcessor
processData in interface IGatewayOutputProcessorpublic void dataComplete()
dataComplete in interface IGatewayOutputProcessor
public void initialize(org.w3c.dom.Element outputProcElem,
ISearchFieldMap sfMap)
initialize in interface IGatewayOutputProcessorpublic void initialize(java.util.Map initParameters)
initialize in interface IGatewayOutputProcessorpublic java.lang.String getConfigurationXML()
getConfigurationXML in interface IGatewayOutputProcessor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||