|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.xml.dataCollection.SimpleXMLGateway
Basic implementation of ICollectionGateway that uses an IXMLDataSource.
Also includes a XMLResultProcessor to process the initial XML into an
XMLResultSet. XML Data sources for files (FileXMLDataSource), FTP
sites (FTPXMLDataSource), HTTP (HTTPXMLDataSource) and RSS feeds (RSSDataSource) are available.
<CollectionGateway class="com.raritantechnologies.xml.dataCollection.SimpleXMLGateway"
resultTag="[result tag name]"
wrapCData="[true(default)|false ]"
resultSetSize="[ number of results in each result set to process ]" >
<XMLSource class="[Implementation class of IXMLDataSource]" >
</XMLSource>
<!-- Optional XSLT Transform -->
<XSLTransform fileName="[ file name of XSLTransform ]" />
<XMLResultProcessor>
</XMLResultProcessor>
</CollectionGateway>
| Constructor Summary | |
SimpleXMLGateway()
|
|
| Method Summary | |
java.lang.String |
getConfigurationXML()
|
void |
initialize(org.w3c.dom.Element gatewayElem,
ISearchFieldMap sfMap)
Initialize the ICollectionGateway from a Configuration XML element. |
boolean |
isPaused()
|
void |
pause()
|
void |
resume()
|
void |
run()
|
void |
run(ILoginInfo userInfo)
Need to have loginInfo for sources which require login/pw access. |
void |
setGatewayListener(IGatewayListener listener)
Sets the IGatewayListener interface. |
void |
setInputParameters(OrderedMap inputParams)
set input parameters... |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleXMLGateway()
| Method Detail |
public void setInputParameters(OrderedMap inputParams)
ICollectionGateway
setInputParameters in interface ICollectionGatewaypublic void run()
run in interface ICollectionGatewaypublic void run(ILoginInfo userInfo)
ICollectionGateway
run in interface ICollectionGatewaypublic void setGatewayListener(IGatewayListener listener)
setGatewayListener in interface ICollectionGatewaypublic void pause()
pause in interface ICollectionGatewaypublic void resume()
resume in interface ICollectionGatewaypublic boolean isPaused()
isPaused in interface ICollectionGateway
public void initialize(org.w3c.dom.Element gatewayElem,
ISearchFieldMap sfMap)
initialize in interface ICollectionGatewaypublic java.lang.String getConfigurationXML()
getConfigurationXML in interface ICollectionGateway
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||