UserDataMonitorpublic class UserDataMonitor extends Object implements UserDataHandlerThis is a utility implementation of UserDataHandler that captures all
notifications |
Fields Summary |
---|
private final List | notifications |
Constructors Summary |
---|
public UserDataMonitor()Public constructor
|
Methods Summary |
---|
public final java.util.List | getAllNotifications()Gets list of notifications
return new ArrayList(notifications);
| public void | handle(short operation, java.lang.String key, java.lang.Object data, org.w3c.dom.Node src, org.w3c.dom.Node dst)Implementation of UserDataHandler.handle. Creates a UserDataNotification
for later testing
notifications.add(
new UserDataNotification(operation, key, data, src, dst));
|
|