de.xabsl.jxabsl.behavior
Class OptionParameters

java.lang.Object
  extended by de.xabsl.jxabsl.parameters.Parameters
      extended by de.xabsl.jxabsl.behavior.OptionParameters

public class OptionParameters
extends Parameters

Represents the current set of parameters of an option or basic behavior


Field Summary
 
Fields inherited from class de.xabsl.jxabsl.parameters.Parameters
bool, booleanParameters, debug, decimal, decimalParameters, enumerated, enumeratedParameters, enumerations
 
Constructor Summary
OptionParameters(InputSource input, DebugMessages debug, Symbols symbols)
          Constructor.
 
Method Summary
 boolean getBoolean(int i)
          Returns the value for a boolean parameter
 double getDecimal(int i)
          Returns the value for a decimal parameter
 java.lang.Object getEnumerated(int i)
          Returns the value for an enumerated parameter
 
Methods inherited from class de.xabsl.jxabsl.parameters.Parameters
getBooleanName, getBooleanPosition, getBooleanSize, getDecimalName, getDecimalPosition, getDecimalSize, getEnumeratedName, getEnumeratedPosition, getEnumeratedSize, getEnumeration, registerBoolean, registerDecimal, registerEnumerated, reset, setBoolean, setDecimal, setEnumerated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionParameters

public OptionParameters(InputSource input,
                        DebugMessages debug,
                        Symbols symbols)
Constructor.

Parameters:
input - An input source for the intermediate code. It must be opened and read until A position where an option starts.
debug - For printing debug information
symbols - All available symbols
Method Detail

getDecimal

public double getDecimal(int i)
Returns the value for a decimal parameter

Parameters:
i - The position of the parameter as given by getDecimalPosition(name)

getBoolean

public boolean getBoolean(int i)
Returns the value for a boolean parameter

Parameters:
i - The position of the parameter as given by getBooleanPosition(name)

getEnumerated

public java.lang.Object getEnumerated(int i)
Returns the value for an enumerated parameter

Parameters:
i - The position of the parameter as given by getEnumeratedPosition(name)