org.xmlBlaster.util.property
Class PropertyChangeEvent
java.lang.Object
java.util.EventObject
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
| 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 |
PropertyChangeEvent
public PropertyChangeEvent(java.lang.String key,
java.lang.String oldValue,
java.lang.String newValue)
- Constructs a new
PropertyChangeEvent instance.
- Parameters:
key - The property keyoldValue - The old valuenewValue - The new or changed value
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()
Copyright © 1999-2007 The xmlBlaster.org contributers.