org.w3c.domts

Class UserDataMonitor

public class UserDataMonitor extends Object implements UserDataHandler

This is a utility implementation of UserDataHandler that captures all notifications
Constructor Summary
UserDataMonitor()
Public constructor
Method Summary
ListgetAllNotifications()
Gets list of notifications
voidhandle(short operation, String key, Object data, Node src, Node dst)
Implementation of UserDataHandler.handle.

Constructor Detail

UserDataMonitor

public UserDataMonitor()
Public constructor

Method Detail

getAllNotifications

public final List getAllNotifications()
Gets list of notifications

Returns: List of notifications, may not be null.

handle

public void handle(short operation, String key, Object data, Node src, Node dst)
Implementation of UserDataHandler.handle. Creates a UserDataNotification for later testing

Parameters: operation See org.w3c.dom.UserDataHandler key See org.w3c.dom.UserDataHandler data See org.w3c.dom.UserDataHandler src See org.w3c.dom.UserDataHandler dst See org.w3c.dom.UserDataHandler