issrg.utils.handler
Class ActionParameter

java.lang.Object
  extended by issrg.utils.handler.ActionParameter
All Implemented Interfaces:
Argument

public class ActionParameter
extends java.lang.Object
implements Argument

Author:
Linying Su

Constructor Summary
ActionParameter(java.lang.String typeIn, java.lang.String valueIn)
          Creates a new instance of ActionParameter
 
Method Summary
 java.lang.String getType()
          This method gets the type of the argument.
 java.lang.String getValue()
          This method gets the string encoding of the value of the argument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionParameter

public ActionParameter(java.lang.String typeIn,
                       java.lang.String valueIn)
Creates a new instance of ActionParameter

Method Detail

getType

public java.lang.String getType()
Description copied from interface: Argument
This method gets the type of the argument.

Specified by:
getType in interface Argument
Returns:
the string name of the argument type

getValue

public java.lang.String getValue()
Description copied from interface: Argument
This method gets the string encoding of the value of the argument. This may be needed for output purposes only. It is suggested to better override equals method of java.lang.Object to make comparisons more efficient.

Specified by:
getValue in interface Argument
Returns:
the string representation of the value; the encoding must correspond to that which would be used in XML