KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > axis > message > CommentImpl


1 /*
2  * Copyright 2001-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16
17 package org.jboss.axis.message;
18
19 import org.w3c.dom.Comment JavaDoc;
20 import org.w3c.dom.Node JavaDoc;
21 import org.w3c.dom.DOMException JavaDoc;
22 import org.w3c.dom.UserDataHandler JavaDoc;
23
24 /**
25  * Most of methods are inherited from TEXT, defined for its Interface Marker
26  * only
27  *
28  * @author Heejune Ahn (cityboy@tmax.co.kr)
29  */

30 public class CommentImpl extends TextImpl implements Comment JavaDoc
31 {
32
33    public CommentImpl(Node JavaDoc node)
34    {
35       super(node);
36    }
37
38    public boolean isComment()
39    {
40       return true;
41    }
42
43    // DOM3-API start ***************************************************************************************************
44

45    public String JavaDoc getBaseURI()
46    {
47       return null;
48    }
49
50    public short compareDocumentPosition(Node JavaDoc other) throws DOMException JavaDoc
51    {
52       return 0;
53    }
54
55    public String JavaDoc getTextContent() throws DOMException JavaDoc
56    {
57       return null;
58    }
59
60    public void setTextContent(String JavaDoc textContent) throws DOMException JavaDoc
61    {
62
63    }
64
65    public boolean isSameNode(Node JavaDoc other)
66    {
67       return false;
68    }
69
70    public String JavaDoc lookupPrefix(String JavaDoc namespaceURI)
71    {
72       return null;
73    }
74
75    public boolean isDefaultNamespace(String JavaDoc namespaceURI)
76    {
77       return false;
78    }
79
80    public String JavaDoc lookupNamespaceURI(String JavaDoc prefix)
81    {
82       return null;
83    }
84
85    public boolean isEqualNode(Node JavaDoc arg)
86    {
87       return false;
88    }
89
90    public Object JavaDoc getFeature(String JavaDoc feature, String JavaDoc version)
91    {
92       return null;
93    }
94
95    public Object JavaDoc setUserData(String JavaDoc key, Object JavaDoc data, UserDataHandler JavaDoc handler)
96    {
97       return null;
98    }
99
100    public Object JavaDoc getUserData(String JavaDoc key)
101    {
102       return null;
103    }
104
105    // DOM3-API end *****************************************************************************************************
106
}
Popular Tags