com.raritantechnologies.xml
Class XMLQueryProcessorFilter
java.lang.Object
com.raritantechnologies.searchApp.QueryProcessorFilter
com.raritantechnologies.xml.XMLQueryProcessorFilter
- All Implemented Interfaces:
- IQueryProcessor
- public class XMLQueryProcessorFilter
- extends QueryProcessorFilter
QueryProcessorFilter that applys an XML Processing operation to the original
IResultSet using a
XMLResultProcessor. The processed result set
is returned as the output of the executeQuery method.
XML Configuration Template:
<SourceType name="filteredSourceName" type="QueryProcessorFilterSource"
sourceFactoryClass = "com.raritantechnologies.searchApp.QueryProcessorFilterFactory"
filterClass = "com.raritantechnologies.xml.XMLQueryProcessorFilter"
inputSource = "realSourceName"
processNestedResults="true|false"
xmlInputField="[ input result ield that has XML to process ]"
XMLResultProcessor="[name of XMLResultProcessor if SystemObject]" >
<XMLResultProcessor>
<!-- see Configuration for XMLResultProcessor -->
</XMLResultProcessor>
</SourceType>
Developed by
Raritan Technologies .
- Author:
- Ted Sullivan
|
Method Summary |
protected IResultSet |
doExecuteQuery(java.lang.Integer queryID,
ISearchFieldMap searchMap,
SourceLoginInfo[] sources,
OrderedMap inputParameters,
java.lang.Integer pageSize,
java.lang.Integer startRec)
Execution of the query - finds the "real" or proxy IQueryProcessor. |
void |
initialize(org.w3c.dom.Element elem)
subclasses should override this to initialize themselves. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLQueryProcessorFilter
public XMLQueryProcessorFilter()
doExecuteQuery
protected IResultSet doExecuteQuery(java.lang.Integer queryID,
ISearchFieldMap searchMap,
SourceLoginInfo[] sources,
OrderedMap inputParameters,
java.lang.Integer pageSize,
java.lang.Integer startRec)
throws QueryProcessorException
- Description copied from class:
QueryProcessorFilter
- Execution of the query - finds the "real" or proxy IQueryProcessor.
- Overrides:
doExecuteQuery in class QueryProcessorFilter
- Throws:
QueryProcessorException
initialize
public void initialize(org.w3c.dom.Element elem)
- Description copied from class:
QueryProcessorFilter
- subclasses should override this to initialize themselves.
- Overrides:
initialize in class QueryProcessorFilter