Package org.htmlunit.html
Class CharacterDataChangeEvent
java.lang.Object
java.util.EventObject
org.htmlunit.html.CharacterDataChangeEvent
- All Implemented Interfaces:
Serializable
This is the event class for notifications about changes to the Character Data.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionCharacterDataChangeEvent
(DomCharacterData characterData, String oldValue) Constructs a new CharacterDataChangeEvent from the given character data and the old value. -
Method Summary
Modifier and TypeMethodDescriptionReturns the character data that was changed.Returns the old value.Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
CharacterDataChangeEvent
Constructs a new CharacterDataChangeEvent from the given character data and the old value.- Parameters:
characterData
- the character data which is changedoldValue
- the old value
-
-
Method Details
-
getCharacterData
Returns the character data that was changed.- Returns:
- the character data that was changed
-
getOldValue
Returns the old value.- Returns:
- the old value
-