KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > opensymphony > webwork > views > xslt > ToStringAdapter


1 /*
2  * Copyright (c) 2002-2003 by OpenSymphony
3  * All rights reserved.
4  */

5 package com.opensymphony.webwork.views.xslt;
6
7 import java.util.ArrayList JavaDoc;
8 import java.util.List JavaDoc;
9
10 import org.w3c.dom.Attr JavaDoc;
11 import org.w3c.dom.DOMException JavaDoc;
12 import org.w3c.dom.Node JavaDoc;
13 import org.w3c.dom.TypeInfo JavaDoc;
14 import org.w3c.dom.UserDataHandler JavaDoc;
15
16
17 /**
18  * @author <a HREF="mailto:meier@meisterbohne.de">Philipp Meier</a>
19  * Date: 10.10.2003
20  * Time: 19:45:12
21  */

22 public class ToStringAdapter extends DefaultElementAdapter {
23     //~ Constructors ///////////////////////////////////////////////////////////
24

25     public ToStringAdapter(DOMAdapter rootAdapter, AdapterNode parent, String JavaDoc propertyName, Object JavaDoc value) {
26         super(rootAdapter, parent, propertyName, value);
27     }
28
29     //~ Methods ////////////////////////////////////////////////////////////////
30

31     protected List JavaDoc buildChildrenAdapters() {
32         List JavaDoc children = new ArrayList JavaDoc();
33         children.add(new SimpleTextNode(getRootAdapter(), this, "text", getValue()));
34
35         return children;
36     }
37
38     /* (non-Javadoc)
39      * @see org.w3c.dom.Node#getBaseURI()
40      */

41     public String JavaDoc getBaseURI() {
42         // TODO Auto-generated method stub
43
return null;
44     }
45
46     /* (non-Javadoc)
47      * @see org.w3c.dom.Node#compareDocumentPosition(org.w3c.dom.Node)
48      */

49     public short compareDocumentPosition(Node JavaDoc other) throws DOMException JavaDoc {
50         // TODO Auto-generated method stub
51
return 0;
52     }
53
54     /* (non-Javadoc)
55      * @see org.w3c.dom.Node#getTextContent()
56      */

57     public String JavaDoc getTextContent() throws DOMException JavaDoc {
58         // TODO Auto-generated method stub
59
return null;
60     }
61
62     /* (non-Javadoc)
63      * @see org.w3c.dom.Node#setTextContent(java.lang.String)
64      */

65     public void setTextContent(String JavaDoc textContent) throws DOMException JavaDoc {
66         // TODO Auto-generated method stub
67

68     }
69
70     /* (non-Javadoc)
71      * @see org.w3c.dom.Node#isSameNode(org.w3c.dom.Node)
72      */

73     public boolean isSameNode(Node JavaDoc other) {
74         // TODO Auto-generated method stub
75
return false;
76     }
77
78     /* (non-Javadoc)
79      * @see org.w3c.dom.Node#lookupPrefix(java.lang.String)
80      */

81     public String JavaDoc lookupPrefix(String JavaDoc namespaceURI) {
82         // TODO Auto-generated method stub
83
return null;
84     }
85
86     /* (non-Javadoc)
87      * @see org.w3c.dom.Node#isDefaultNamespace(java.lang.String)
88      */

89     public boolean isDefaultNamespace(String JavaDoc namespaceURI) {
90         // TODO Auto-generated method stub
91
return false;
92     }
93
94     /* (non-Javadoc)
95      * @see org.w3c.dom.Node#lookupNamespaceURI(java.lang.String)
96      */

97     public String JavaDoc lookupNamespaceURI(String JavaDoc prefix) {
98         // TODO Auto-generated method stub
99
return null;
100     }
101
102     /* (non-Javadoc)
103      * @see org.w3c.dom.Node#isEqualNode(org.w3c.dom.Node)
104      */

105     public boolean isEqualNode(Node JavaDoc arg) {
106         // TODO Auto-generated method stub
107
return false;
108     }
109
110     /* (non-Javadoc)
111      * @see org.w3c.dom.Node#getFeature(java.lang.String, java.lang.String)
112      */

113     public Object JavaDoc getFeature(String JavaDoc feature, String JavaDoc version) {
114         // TODO Auto-generated method stub
115
return null;
116     }
117
118     /* (non-Javadoc)
119      * @see org.w3c.dom.Node#setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler)
120      */

121     public Object JavaDoc setUserData(String JavaDoc key, Object JavaDoc data, UserDataHandler JavaDoc handler) {
122         // TODO Auto-generated method stub
123
return null;
124     }
125
126     /* (non-Javadoc)
127      * @see org.w3c.dom.Node#getUserData(java.lang.String)
128      */

129     public Object JavaDoc getUserData(String JavaDoc key) {
130         // TODO Auto-generated method stub
131
return null;
132     }
133
134     /* (non-Javadoc)
135      * @see org.w3c.dom.Element#getSchemaTypeInfo()
136      */

137     public TypeInfo JavaDoc getSchemaTypeInfo() {
138         // TODO Auto-generated method stub
139
return null;
140     }
141
142     /* (non-Javadoc)
143      * @see org.w3c.dom.Element#setIdAttribute(java.lang.String, boolean)
144      */

145     public void setIdAttribute(String JavaDoc name, boolean isId) throws DOMException JavaDoc {
146         // TODO Auto-generated method stub
147

148     }
149
150     /* (non-Javadoc)
151      * @see org.w3c.dom.Element#setIdAttributeNS(java.lang.String, java.lang.String, boolean)
152      */

153     public void setIdAttributeNS(String JavaDoc namespaceURI, String JavaDoc localName, boolean isId) throws DOMException JavaDoc {
154         // TODO Auto-generated method stub
155

156     }
157
158     /* (non-Javadoc)
159      * @see org.w3c.dom.Element#setIdAttributeNode(org.w3c.dom.Attr, boolean)
160      */

161     public void setIdAttributeNode(Attr JavaDoc idAttr, boolean isId) throws DOMException JavaDoc {
162         // TODO Auto-generated method stub
163

164     }
165 }
166
Popular Tags