01: package org.objectweb.celtix.tools.extensions.jaxws;
02:
03: import org.w3c.dom.Element;
04:
05: public class BindingsNode {
06:
07: private String xpathExpression;
08: private Class parentType;
09: private String nodeName;
10: private Element element;
11:
12: public Element getElement() {
13: return this .element;
14: }
15:
16: public void setElement(Element elem) {
17: this .element = elem;
18: }
19:
20: public Class getParentType() {
21: return this .parentType;
22: }
23:
24: public void setParentType(Class clz) {
25: parentType = clz;
26: }
27:
28: public String getNodeName() {
29: return this .nodeName;
30: }
31:
32: public void setNodeName(String nn) {
33: this .nodeName = nn;
34: }
35:
36: public String getXPathExpression() {
37: return this .xpathExpression;
38: }
39:
40: public void setXPathExpression(String xe) {
41: this .xpathExpression = xe;
42: }
43:
44: public String toString() {
45: StringBuffer sb = new StringBuffer();
46: sb.append("\nBindingNode");
47: sb.append("[");
48: sb.append(xpathExpression);
49: sb.append("]");
50: sb.append("[");
51: sb.append(parentType);
52: sb.append("]");
53: sb.append("[");
54: sb.append(nodeName);
55: sb.append("]\n");
56: return sb.toString();
57: }
58: }
|