com.raritantechnologies.xml.dataCollection
Interface IXMLDataSource

All Superinterfaces:
IConfigurable
All Known Implementing Classes:
DatabaseXMLDataSource, FileXMLDataSource, FTPXMLDataSource, HTTPXMLDataSource, JCIFSXMLDataSource, RSSDataSource, RSSDataSource, SessionXMLDataSource

public interface IXMLDataSource
extends IConfigurable

Base interface for XML data sources used in conjunction with an RTI XML data collection gateway such as SimpleXMLGateway.


Developed by Raritan Technologies .

Author:
Ted Sullivan

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 shutdown()
          close all connections, or other application resources.
 
Methods inherited from interface com.raritantechnologies.searchApp.IConfigurable
initialize
 

Method Detail

init

public void init(RaritanPageContext rpc)
Initialize the source. Points to the first available XML Result


hasMoreResults

public boolean hasMoreResults()
returns true if more results available, false otherwise


getNextResult

public org.w3c.dom.Document getNextResult()
returns next available document


shutdown

public void shutdown()
close all connections, or other application resources.