Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
UserDataHandler |
|
| 1.0;1 |
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 available under their usual | |
3 | * extremely liberal license so this shoudldn'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 | } |