com.taursys.xml.event
Class ParameterEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.taursys.xml.event.ParameterEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InputEvent

public class ParameterEvent
extends java.util.EventObject

Event descriptor used when parameters are received. It contains information about the source of the event. If this event is used for a single parameter, then the parameter name and the value received properties are set and the Map property is null. If this event is used for propagation of multiple parameters, then the map property is set and the name and value properties are null.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ParameterEvent(java.lang.Object source)
          Constructs a new ParameterEvent with the given Object as the source.
ParameterEvent(java.lang.Object source, java.util.Map map)
          Constructs a new ParameterEvent with all the given properties.
ParameterEvent(java.lang.Object source, java.lang.String name, java.lang.String value)
          Constructs a new ParameterEvent with all the given properties.
 
Method Summary
 java.util.Map getMap()
          Get the Map of all Parameter keys and values.
 java.lang.String getName()
          Returns the parameter name
 java.lang.String getValue()
          Returns the parameter value
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParameterEvent

public ParameterEvent(java.lang.Object source)
Constructs a new ParameterEvent with the given Object as the source.


ParameterEvent

public ParameterEvent(java.lang.Object source,
                      java.lang.String name,
                      java.lang.String value)
Constructs a new ParameterEvent with all the given properties.


ParameterEvent

public ParameterEvent(java.lang.Object source,
                      java.util.Map map)
Constructs a new ParameterEvent with all the given properties.

Method Detail

getName

public java.lang.String getName()
Returns the parameter name


getValue

public java.lang.String getValue()
Returns the parameter value


getMap

public java.util.Map getMap()
Get the Map of all Parameter keys and values.

Returns:
the Map of all Parameter keys and values.


Copyright © 2007 Martin T Phelan. All Rights Reserved.