Class CharacterDataChangeEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class CharacterDataChangeEvent
    extends java.util.EventObject
    This is the event class for notifications about changes to the Character Data.
    See Also:
    CharacterDataChangeListener, Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      CharacterDataChangeEvent​(DomCharacterData characterData, java.lang.String oldValue)
      Constructs a new CharacterDataChangeEvent from the given character data and the old value.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DomCharacterData getCharacterData()
      Returns the character data that was changed.
      java.lang.String getOldValue()
      Returns the old 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

      • CharacterDataChangeEvent

        public CharacterDataChangeEvent​(DomCharacterData characterData,
                                        java.lang.String oldValue)
        Constructs a new CharacterDataChangeEvent from the given character data and the old value.
        Parameters:
        characterData - the character data which is changed
        oldValue - the old value
    • Method Detail

      • getCharacterData

        public DomCharacterData getCharacterData()
        Returns the character data that was changed.
        Returns:
        the character data that was changed
      • getOldValue

        public java.lang.String getOldValue()
        Returns the old value.
        Returns:
        the old value