org.gridbus.broker.xpml
Class ParameterProcessor

java.lang.Object
  |
  +--org.gridbus.broker.xpml.ParameterProcessor
Direct Known Subclasses:
GridfileProcessor, IntegerProcessor, StringProcessor

public class ParameterProcessor
extends java.lang.Object

This class will extract all the information regarding Parameters from the XML file. It is actually meant to replace RunFile.java.

Author:
Ding Choon Hoong (chd@students.cs.mu.oz.au)

Constructor Summary
ParameterProcessor()
          Default constructor for this class
ParameterProcessor(org.dom4j.Element fragmentElement)
          Sets up the parameter processor with the input element object
 
Method Summary
 java.lang.Object extractParameter()
          Extracts and returns the parameters in the xml file as objects
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterProcessor

public ParameterProcessor()
Default constructor for this class


ParameterProcessor

public ParameterProcessor(org.dom4j.Element fragmentElement)
Sets up the parameter processor with the input element object

Parameters:
fragmentElement -
Method Detail

extractParameter

public java.lang.Object extractParameter()
Extracts and returns the parameters in the xml file as objects

Returns:
parameters