Package org.htmlunit.html

# Interface DomChangeListener

All Superinterfaces:
  `Serializable`

public interface DomChangeListener extends Serializable
Implementations of this interface receive notifications of changes to the DOM structure.

See Also:
  - `DomChangeEvent`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `nodeAdded(DomChangeEvent event)`
  Notification that a new node was added.
  `void`
  `nodeDeleted(DomChangeEvent event)`
  Notification that a new node was deleted.

- ## Method Details

  - ### nodeAdded

    void nodeAdded(DomChangeEvent event)
    Notification that a new node was added. Called after the node is added.
    Parameters:
      `event` - the node addition event

  - ### nodeDeleted

    void nodeDeleted(DomChangeEvent event)
    Notification that a new node was deleted. Called after the node is deleted.
    Parameters:
      `event` - the node deletion event