1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.struts2.views.xslt;
19
20 import org.w3c.dom.Node;
21
22 /***
23 */
24 public interface AdapterNode extends Node {
25
26 /***
27 * The adapter factory that created this node.
28 */
29 AdapterFactory getAdapterFactory();
30
31 /***
32 * The adapter factory that created this node.
33 */
34 void setAdapterFactory(AdapterFactory factory);
35
36 /***
37 * The parent adapter node of this node. Note that our parent must be another adapter node, but our children may be any
38 * kind of Node.
39 */
40 AdapterNode getParent();
41
42 /***
43 * The parent adapter node of this node. Note that our parent must be another adapter node, but our children may be any
44 * kind of Node.
45 */
46 void setParent(AdapterNode parent);
47
48 /***
49 * The child node before the specified sibling
50 */
51 Node getChildBefore(Node thisNode);
52
53 /***
54 * The child node after the specified sibling
55 */
56 Node getChildAfter(Node thisNode);
57
58 /***
59 * The name of the Java object (property) that we are adapting
60 */
61 String getPropertyName();
62
63 /***
64 * The name of the Java object (property) that we are adapting
65 */
66 void setPropertyName(String name);
67
68 /***
69 * The Java object (property) that we are adapting
70 */
71 Object getPropertyValue();
72
73 /*** The Java object (property) that we are adapting */
74 void setPropertyValue(Object prop );
75 }