org.globus.mds.webmds
Interface WebmdsXmlSource


public interface WebmdsXmlSource

Interface called by WebmdsServlet to acquire an xml document.

See Also:
WebmdsServlet

Method Summary
 String getRequestInfo()
          Return information an end-user might find interesting about the request.
 Source getXmlSource(String name, ParameterMap initParams, ParameterMap requestParams)
          Function called by WebmdsServlet at invocation time to get an xml document.
 void init(WebmdsUtil webmdsUtil)
          Initialize the XML source.
 

Method Detail

getXmlSource

public Source getXmlSource(String name,
                           ParameterMap initParams,
                           ParameterMap requestParams)
                    throws WebmdsXmlSourceException,
                           WebmdsConfigException,
                           IOException
Function called by WebmdsServlet at invocation time to get an xml document.

Parameters:
name - name of the XML source object to get.
initParams - a ParameterMap of options corresponding to the initialization parameters for this XML source.
requestParams - a ParameterMap of options corresponding to the parameters from this http request.
Returns:
a javax.xml.transform.Source object representing a source of XML.
Throws:
WebmdsXmlSourceException
WebmdsConfigException
IOException
See Also:
ParameterMap

getRequestInfo

public String getRequestInfo()
Return information an end-user might find interesting about the request. This will be set as an xsl parameter when the results are returned to the user.


init

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

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


Copyright © 1999-2006 University of Chicago. All rights reserved.