API Overview API Index Package Overview Direct link to this page
JDK 1.6
  org.w3c.dom. UserDataHandler View Source
Author(s)
Since
DOM Level 3
Version
Serial
Hierarchy
 UserDataHandler
Subinterfaces
Description
public interface UserDataHandler
  When associating an object to a key on a node using Node.setUserData() the application can provide a handler that gets called when the node the object is associated to is being cloned, imported, or renamed.
See also:   
Methods
Hide/Show inherited methods
public void handle (short operation, String key, Object data, Node src, Node dst)
  This method is called whenever the node for which this handler is registered is imported or cloned.
Fields
Hide/Show inherited fields
publicfinalstatic short NODE_ADOPTED = "5"
The node is adopted, using Document.adoptNode().
publicfinalstatic short NODE_CLONED = "1"
The node is cloned, using Node.cloneNode().
publicfinalstatic short NODE_DELETED = "3"
  The node is deleted.
publicfinalstatic short NODE_IMPORTED = "2"
The node is imported, using Document.importNode().
publicfinalstatic short NODE_RENAMED = "4"
The node is renamed, using Document.renameNode().
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar