|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.searchApp.dataCollection.DispatchResultProcessor
Dispatches result processing based on a
set of IResultMatcher filter / IResultSetProcessor pairs.
<OutputProcessor class="com.raritantechnologies.searchApp.dataCollection.DispatchResultProcessor" >
<!-- Contains one or more Dispatcher elements -->
<Dispatcher>
<ResultMatcher class="[ class of com.raritantechnologies.searchApp.IResultMatcher ]" >
<!-- configuration parameters of ResultMatcher -->
</ResultMatcher>
<ResultSetProcessor class="[ class of com.raritantechnologies.searchApp.dataCollection.IResultSetProcessor" >
<!-- configuration parameters of ResultSetProcessor -->
</ResultSetProcessor>
<!-- Optional parameters to be added to Result objects -->
<Param name="[ param name ]" value="[ param value ]" />
</Dispatcher>
<Dispatcher>
<!-- ResultMatcher and ResultSetProcessor for alternate dispatcher . . . -->
</Dispatcher>
</OutputProcessor>
| Constructor Summary | |
DispatchResultProcessor()
|
|
| Method Summary | |
void |
addDispatcher(IResultMatcher matcher,
IResultSetProcessor resSetProcessor)
|
void |
addDispatcher(IResultMatcher matcher,
IResultSetProcessor resSetProcessor,
java.util.Map params)
|
void |
dataComplete()
Data feed is complete. |
java.lang.String |
getConfigurationXML()
|
void |
initialize(org.w3c.dom.Element configElem)
Initialize the from XML Element. |
void |
initialize(org.w3c.dom.Element configElem,
ISearchFieldMap sfMap)
Initialize the GatewayOutputProcessor from XML Configuration Element. |
void |
initialize(java.util.Map initParams)
Used for dynamic initialization (connection, collection name, file name, etc.) |
java.lang.String |
processData(IResultSet data)
returns name of XML File created/appended. |
void |
processResultSet(java.lang.String sessionID,
IResultSet data)
processes the IResultSet (somehow) |
void |
setUser(ILoginInfo user)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DispatchResultProcessor()
| Method Detail |
public java.lang.String processData(IResultSet data)
IGatewayOutputProcessor
processData in interface IGatewayOutputProcessor
public void processResultSet(java.lang.String sessionID,
IResultSet data)
processResultSet in interface IResultSetProcessorpublic void dataComplete()
dataComplete in interface IGatewayOutputProcessorpublic void setUser(ILoginInfo user)
public void initialize(java.util.Map initParams)
IGatewayOutputProcessor
initialize in interface IGatewayOutputProcessorpublic void initialize(org.w3c.dom.Element configElem)
initialize in interface IResultSetProcessor
public void initialize(org.w3c.dom.Element configElem,
ISearchFieldMap sfMap)
IGatewayOutputProcessor
initialize in interface IGatewayOutputProcessor
public void addDispatcher(IResultMatcher matcher,
IResultSetProcessor resSetProcessor)
public java.lang.String getConfigurationXML()
getConfigurationXML in interface IGatewayOutputProcessor
public void addDispatcher(IResultMatcher matcher,
IResultSetProcessor resSetProcessor,
java.util.Map params)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||