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