org.globus.mds.webmds.xmlSources.xmlDomNode
Interface WebmdsNodeSource


public interface WebmdsNodeSource

Interface called by WebmdsServlet to acquire an xml document.


Method Summary
 org.w3c.dom.Node getNode(ParameterMap configParams, ParameterMap requestParams)
          Function called by WebmdsNodeSource at invocation time to get a DOM node object.
 java.lang.String getRequestInfo()
          Returns information about the request that might be interesting to the end-user.
 void init(WebmdsUtil webmdsUtil)
          Initialize the XML Node source.
 

Method Detail

getNode

public org.w3c.dom.Node getNode(ParameterMap configParams,
                                ParameterMap requestParams)
                         throws WebmdsNodeSourceException,
                                WebmdsConfigException,
                                java.io.IOException
Function called by WebmdsNodeSource at invocation time to get a DOM node object.

Parameters:
configParams - a ParameterMap of options corresponding to the configuration parameters for this XML source.
requestParams - a ParameterMap of options corresponding to the parameters from this http request.
Throws:
WebmdsNodeSourceException
WebmdsConfigException
java.io.IOException

getRequestInfo

public java.lang.String getRequestInfo()
Returns information about the request that might be interesting to the end-user.


init

public void init(WebmdsUtil webmdsUtil)
Initialize the XML Node source.

Parameters:
webmdsUtil - a WebmdsUtil object with utility methods that the xml source can use.