FileDocCategorySizeDatePackage
UserDataMonitor.javaAPI DocAndroid 1.5 API1835Wed May 06 22:41:04 BST 2009org.w3c.domts

UserDataMonitor

public class UserDataMonitor extends Object implements UserDataHandler
This 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.ListgetAllNotifications()
Gets list of notifications

return
List of notifications, may not be null.

    return new ArrayList(notifications);
  
public voidhandle(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

param
operation See org.w3c.dom.UserDataHandler
param
key See org.w3c.dom.UserDataHandler
param
data See org.w3c.dom.UserDataHandler
param
src See org.w3c.dom.UserDataHandler
param
dst See org.w3c.dom.UserDataHandler

    notifications.add(
        new UserDataNotification(operation, key, data, src, dst));