org.globus.mds.usefulrp.rpprovider.producers
Class FileElementProducer

java.lang.Object
  extended byorg.globus.mds.usefulrp.rpprovider.producers.FileElementProducer
All Implemented Interfaces:
ResourcePropertyElementProducer

public class FileElementProducer
extends Object
implements ResourcePropertyElementProducer

A ResourcePropertyElementProducer which reads XML from a file.


Constructor Summary
FileElementProducer()
          Creates a new instance of FileElementProducer
 
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
 

Constructor Detail

FileElementProducer

public FileElementProducer()
Creates a new instance of FileElementProducer

Method Detail

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.