|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.searchApp.database.DatabaseXMLDataSource
Implements IXMLDataSource by retrieving XML strings from a relational Database.
XML Configuration Template:
<XMLDataSource class="com.raritantechnologies.searchApp.database.DatabaseXMLDataSource"
connectionManager="[ name of ConnectionManager instance ]"
xmlField="[ field in table that has XML text ]" >
<!-- One or more SQLSelect tags containing SQL statement needed to obtain XML data -->
<SQLSelect>[ sql statement used to select the XML text rows ]
</XMLDataSource>
| Constructor Summary | |
DatabaseXMLDataSource()
|
|
| 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 DatabaseXMLDataSource()
| 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 | |||||||||