org.gridbus.broker.xpml
Class IntegerProcessor

java.lang.Object
  extended by org.gridbus.broker.xpml.ParameterProcessor
      extended by org.gridbus.broker.xpml.IntegerProcessor

public class IntegerProcessor
extends ParameterProcessor

Author:
krishna

Constructor Summary
IntegerProcessor()
           
IntegerProcessor(org.dom4j.Element fragmentElement)
          Sets up the integer processor with the input element object
 
Method Summary
 java.lang.Object extractInteger()
          Extracts and returns the parameters in the xml file as objects
 ListVariable processRange(org.dom4j.Element fragmentElement, java.lang.String varName, java.lang.String rangeVarType)
          Processes a listvariable tag and returns a ListVariable object
 SingleVariable processSingle(org.dom4j.Element fragmentElement, java.lang.String varName, java.lang.String singleVarType)
          Processes a singlevariable tag and returns a SingleVariable object
 
Methods inherited from class org.gridbus.broker.xpml.ParameterProcessor
extractParameter, getDataFileList, getDataHostTable, setServices
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerProcessor

public IntegerProcessor()

IntegerProcessor

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

Parameters:
fragmentElement -
Method Detail

extractInteger

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

Returns:
parameters

processSingle

public SingleVariable processSingle(org.dom4j.Element fragmentElement,
                                    java.lang.String varName,
                                    java.lang.String singleVarType)
Processes a singlevariable tag and returns a SingleVariable object

Parameters:
fragmentElement -
varName -
singleVarType -
Returns:
single variable object

processRange

public ListVariable processRange(org.dom4j.Element fragmentElement,
                                 java.lang.String varName,
                                 java.lang.String rangeVarType)
Processes a listvariable tag and returns a ListVariable object

Parameters:
fragmentElement -
varName -
rangeVarType -
Returns:
variable list