View Javadoc

    1   /*** This is a W3C interface we include here so that NamespaceNode can compile in both
    2    *  Java 1.4 and 1.5. It's owned by the W3C, and avaialble under their usual
    3    *  extremely liberal license so this shoudln't bother anyone. (XPath itself
    4    *  is under the same license after all.)
    5    */
    6
    7   package org.w3c.dom;
    8
    9   public interface UserDataHandler {
    10      // OperationType
    11      public static final short NODE_CLONED               = 1;
    12      public static final short NODE_IMPORTED             = 2;
    13      public static final short NODE_DELETED              = 3;
    14      public static final short NODE_RENAMED              = 4;
    15      public static final short NODE_ADOPTED              = 5;
    16
    17      public void handle(short operation,
    18                         String key,
    19                         Object data,
    20                         Node src,
    21                         Node dst);
    22
    23  }