|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.xml.dataCollection.HTTPXMLDataSource
Gets XML strings from an HTTP source (XML over HTTP).
XML Configuration Template:
<XMLDataSource class="com.raritantechnologies.xml.dataCollection.HTTPXMLDataSource"
username="[ optional username ]"
password="[ optional password ]" >
<!-- URL Map: type is either "DIRECT" or "SCRAPER_FILE:[path to HTMLScraper config file ]" -->
<URL href="[ href to HTTP Source ]"
type="[DIRECT | SCRAPER_FILE:]" />
</XMLDataSource>
| Constructor Summary | |
HTTPXMLDataSource()
|
|
| Method Summary | |
org.w3c.dom.Document |
getNextResult()
returns next available document |
boolean |
hasMoreResults()
returns true if more results available, false otherwise |
void |
init(RaritanPageContext rpc)
Initialize the source. |
void |
initialize(org.w3c.dom.Element elem)
Initializes the object from an XML tag or element. |
void |
shutdown()
close all connections, or other application resources. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HTTPXMLDataSource()
| Method Detail |
public void init(RaritanPageContext rpc)
IXMLDataSource
init in interface IXMLDataSourcepublic boolean hasMoreResults()
hasMoreResults in interface IXMLDataSourcepublic org.w3c.dom.Document getNextResult()
getNextResult in interface IXMLDataSourcepublic void shutdown()
shutdown in interface IXMLDataSourcepublic void initialize(org.w3c.dom.Element elem)
IConfigurable
initialize in interface IConfigurable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||