|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.HTML.HTMLScraperGateway
Creates an IResultSet for processing from
HTMLScraper output.
<CollectionGateway name="ScrapProc_1" class="com.raritantechnologies.HTML.HTMLScraperGateway"
useCookies="[ true|false(default) ]" >
<!-- One or more SourceURL's -->
<SourceURL>http://www.sec.gov/divisions/corpfin/organization/cf2003.shtml</SourceURL>
<LoginProcess>
<Step type="[getURL|getURLSocket|postURL|postURLSocket]" URL="[the URL that the form should be sent to]" >
<params>
</params>
</Step>
</LoginProcess>
<HTMLScraperConfig>BASE_PATH/EdgarCIK/CIKBrowseScraper.xml</HTMLScraperConfig>
<ResultSetSize>1</ResultSetSize>
<XMLResultProcessor>
<!-- see XMLResultProcessor configuration -->
</XMLResultProcessor>
</CollectionGateway>
| Constructor Summary | |
HTMLScraperGateway()
|
|
| 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 |
setDataAvailable(IResultSet rs)
|
void |
setDataComplete()
|
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 HTMLScraperGateway()
| Method Detail |
public void setInputParameters(OrderedMap inputParams)
ICollectionGateway
setInputParameters in interface ICollectionGatewaypublic void run()
run in interface ICollectionGatewaypublic void run(ILoginInfo userInfo)
run in interface ICollectionGatewaypublic void setGatewayListener(IGatewayListener listener)
ICollectionGateway
setGatewayListener in interface ICollectionGatewaypublic void setDataAvailable(IResultSet rs)
public void setDataComplete()
public void initialize(org.w3c.dom.Element gatewayElem,
ISearchFieldMap sfMap)
ICollectionGateway
initialize in interface ICollectionGatewaypublic void pause()
pause in interface ICollectionGatewaypublic void resume()
resume in interface ICollectionGatewaypublic boolean isPaused()
isPaused 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 | |||||||||