org.globus.mds.usefulrp.rpprovider.producers
Class URLElementProducer
java.lang.Object
org.globus.mds.usefulrp.rpprovider.producers.URLElementProducer
- All Implemented Interfaces:
- ResourcePropertyElementProducer
- public class URLElementProducer
- extends Object
- implements ResourcePropertyElementProducer
A ResourcePropertyElementProducer which generates an DOM Element by fetching
an XML file from the specified URL parameter. This URL is generally expected
to be a URL to an HTTP(S) server, and the result of the HTTP GET request on
this URL is generally expected to be a well-formed XML document.
|
Method Summary |
Element |
getElement(String[] args)
Generate a DOM Element that can be used as a value of a Resource Property |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLElementProducer
public URLElementProducer()
- Creates a new instance of URLElementProducer
getElement
public Element getElement(String[] args)
throws Exception
- Description copied from interface:
ResourcePropertyElementProducer
- Generate a DOM Element that can be used as a value of a Resource Property
- Specified by:
getElement in interface ResourcePropertyElementProducer
- Parameters:
args - An string argument vector to be passed as parameters to the
implementing class
- Returns:
- A DOM Element
- Throws:
Exception
Copyright © 1999-2006 University of Chicago. All rights reserved.