xmlBlaster 2.2.0 client API

org.xmlBlaster.util.property
Class PropertyChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.xmlBlaster.util.property.PropertyChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class PropertyChangeEvent
extends java.util.EventObject

The immutable event object when a property was created or has changed.

Author:
Marcel Ruff
See Also:
testsuite.TestProperty, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PropertyChangeEvent(java.lang.String key, java.lang.String oldValue, java.lang.String newValue)
          Constructs a new PropertyChangeEvent instance.
 
Method Summary
 java.lang.String getKey()
          The unique key of the property
 java.lang.String getNewValue()
          The new value of this property
 java.lang.String getOldValue()
          The previous value of this property
 java.lang.String toString()
           
 java.lang.String toXml()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyChangeEvent

public PropertyChangeEvent(java.lang.String key,
                           java.lang.String oldValue,
                           java.lang.String newValue)
Constructs a new PropertyChangeEvent instance.

Parameters:
key - The property key
oldValue - The old value
newValue - The new or changed value
Method Detail

getKey

public java.lang.String getKey()
The unique key of the property


getOldValue

public java.lang.String getOldValue()
The previous value of this property


getNewValue

public java.lang.String getNewValue()
The new value of this property


toXml

public java.lang.String toXml()

toString

public java.lang.String toString()
Overrides:
toString in class java.util.EventObject

xmlBlaster 2.2.0 client API

Copyright © 1999-2014 The xmlBlaster.org contributers.