KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > w3c > tidy > DOMProcessingInstructionImpl


1 /*
2  * @(#)DOMProcessingInstructionImpl.java 1.11 2000/08/16
3  *
4  */

5
6 package org.w3c.tidy;
7
8 import org.w3c.dom.DOMException JavaDoc;
9
10 /**
11  *
12  * DOMProcessingInstructionImpl
13  *
14  * (c) 1998-2000 (W3C) MIT, INRIA, Keio University
15  * See Tidy.java for the copyright notice.
16  * Derived from <a HREF="http://www.w3.org/People/Raggett/tidy">
17  * HTML Tidy Release 4 Aug 2000</a>
18  *
19  * @author Dave Raggett <dsr@w3.org>
20  * @author Andy Quick <ac.quick@sympatico.ca> (translation to Java)
21  * @version 1.7, 1999/12/06 Tidy Release 30 Nov 1999
22  * @version 1.8, 2000/01/22 Tidy Release 13 Jan 2000
23  * @version 1.9, 2000/06/03 Tidy Release 30 Apr 2000
24  * @version 1.10, 2000/07/22 Tidy Release 8 Jul 2000
25  * @version 1.11, 2000/08/16 Tidy Release 4 Aug 2000
26  */

27
28 public class DOMProcessingInstructionImpl extends DOMNodeImpl
29                             implements org.w3c.dom.ProcessingInstruction JavaDoc {
30
31     protected DOMProcessingInstructionImpl(Node adaptee)
32     {
33         super(adaptee);
34     }
35
36
37     /* --------------------- DOM ---------------------------- */
38
39     /**
40      * @see org.w3c.dom.Node#getNodeType
41      */

42     public short getNodeType()
43     {
44         return org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE;
45     }
46
47     /**
48      * @see org.w3c.dom.ProcessingInstruction#getTarget
49      */

50     public String JavaDoc getTarget()
51     {
52         // TODO
53
return null;
54     }
55
56     /**
57      * @see org.w3c.dom.ProcessingInstruction#getData
58      */

59     public String JavaDoc getData()
60     {
61         return getNodeValue();
62     }
63
64     /**
65      * @see org.w3c.dom.ProcessingInstruction#setData
66      */

67     public void setData(String JavaDoc data) throws DOMException JavaDoc
68     {
69         // NOT SUPPORTED
70
throw new DOMExceptionImpl(DOMException.NO_MODIFICATION_ALLOWED_ERR,
71                                    "Not supported");
72     }
73
74     public org.w3c.dom.Node JavaDoc adoptNode (org.w3c.dom.Node JavaDoc oNode) {
75       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl adoptNode() Not implemented");
76     }
77
78     public short compareDocumentPosition (org.w3c.dom.Node JavaDoc oNode) {
79       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl compareDocumentPosition() Not implemented");
80     }
81
82     public boolean isDefaultNamespace(String JavaDoc sStr1) {
83       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl isDefaultNamespace() Not implemented");
84     }
85
86     public boolean isEqualNode(org.w3c.dom.Node JavaDoc oNode) {
87       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl isEqualNode() Not implemented");
88     }
89
90     public boolean isSameNode(org.w3c.dom.Node JavaDoc oNode) {
91       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl isSameNode() Not implemented");
92     }
93
94     public String JavaDoc lookupPrefix(String JavaDoc sStr1) {
95       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl lookupPreffix() Not implemented");
96     }
97
98     public String JavaDoc lookupNamespaceURI(String JavaDoc sStr1) {
99       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl lookupNamespaceURI() Not implemented");
100     }
101
102     public String JavaDoc getDocumentURI() {
103       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl getDocumentURI() Not implemented");
104     }
105
106     public void setDocumentURI(String JavaDoc sStr1) {
107       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl setDocumentURI() Not implemented");
108     }
109
110     public boolean getStrictErrorChecking() {
111       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl getStrictErrorChecking() Not implemented");
112     }
113
114     public void setStrictErrorChecking(boolean bStrictCheck) {
115       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl setStrictErrorChecking() Not implemented");
116     }
117
118     public boolean getXmlStandalone() {
119       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl getXmlStandalone() Not implemented");
120     }
121
122     public void setXmlStandalone(boolean bXmlStandalone) {
123       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl setXmlStandalone() Not implemented");
124     }
125
126     public Object JavaDoc getFeature(String JavaDoc sStr1, String JavaDoc sStr2) {
127       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl getFeature() Not implemented");
128     }
129
130     public String JavaDoc getInputEncoding() {
131       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl getInputEncoding() Not implemented");
132     }
133
134     public String JavaDoc getXmlEncoding() {
135       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl getXmlEncoding() Not implemented");
136     }
137
138     public String JavaDoc getXmlVersion() {
139       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl getXmlVersion() Not implemented");
140     }
141
142     public void setXmlVersion(String JavaDoc sStr1) {
143       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl setXmlVersion() Not implemented");
144     }
145
146     public Object JavaDoc getUserData(String JavaDoc sStr1) {
147       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl getUserData() Not implemented");
148     }
149
150     public Object JavaDoc setUserData(String JavaDoc sStr1, Object JavaDoc oObj2, org.w3c.dom.UserDataHandler JavaDoc oHndlr) {
151       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl setUserData() Not implemented");
152     }
153
154     public org.w3c.dom.DOMConfiguration JavaDoc getDomConfig () {
155       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl getDomConfig() Not implemented");
156     }
157
158     public void normalizeDocument () {
159       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl normalizeDocument() Not implemented");
160     }
161
162     public org.w3c.dom.Node JavaDoc renameNode (org.w3c.dom.Node JavaDoc oNode, String JavaDoc sStr1, String JavaDoc sStr2) {
163       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl renameNode() Not implemented");
164     }
165
166     public String JavaDoc getBaseURI() {
167       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl getBaseURI() Not implemented");
168     }
169
170     public String JavaDoc getTextContent() {
171       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl getTextContent() Not implemented");
172     }
173
174     public void setTextContent(String JavaDoc sStr1) {
175       throw new UnsupportedOperationException JavaDoc("org.w3c.tidy.DOMProcessingInstructionImpl setTextContent() Not implemented");
176     }
177 }
178
Popular Tags