001: /*
002: * @(#)DOMCommentImpl.java 1.11 2000/08/16
003: *
004: */
005:
006: package org.w3c.tidy;
007:
008: import org.w3c.dom.DOMException;
009:
010: /**
011: *
012: * DOMCommentImpl
013: *
014: * (c) 1998-2000 (W3C) MIT, INRIA, Keio University
015: * See Tidy.java for the copyright notice.
016: * Derived from <a href="http://www.w3.org/People/Raggett/tidy">
017: * HTML Tidy Release 4 Aug 2000</a>
018: *
019: * @author Dave Raggett <dsr@w3.org>
020: * @author Andy Quick <ac.quick@sympatico.ca> (translation to Java)
021: * @version 1.7, 1999/12/06 Tidy Release 30 Nov 1999
022: * @version 1.8, 2000/01/22 Tidy Release 13 Jan 2000
023: * @version 1.9, 2000/06/03 Tidy Release 30 Apr 2000
024: * @version 1.10, 2000/07/22 Tidy Release 8 Jul 2000
025: * @version 1.11, 2000/08/16 Tidy Release 4 Aug 2000
026: */
027:
028: public class DOMCommentImpl extends DOMCharacterDataImpl implements
029: org.w3c.dom.Comment {
030:
031: protected DOMCommentImpl(Node adaptee) {
032: super (adaptee);
033: }
034:
035: /* --------------------- DOM ---------------------------- */
036:
037: /**
038: * @see org.w3c.dom.Node#getNodeName
039: */
040: public String getNodeName() {
041: return "#comment";
042: }
043:
044: /**
045: * @see org.w3c.dom.Node#getNodeType
046: */
047: public short getNodeType() {
048: return org.w3c.dom.Node.COMMENT_NODE;
049: }
050:
051: public org.w3c.dom.Node adoptNode(org.w3c.dom.Node oNode) {
052: throw new UnsupportedOperationException(
053: "org.w3c.tidy.DOMDocumentImpl adoptNode() Not implemented");
054: }
055:
056: public short compareDocumentPosition(org.w3c.dom.Node oNode) {
057: throw new UnsupportedOperationException(
058: "org.w3c.tidy.DOMDocumentImpl compareDocumentPosition() Not implemented");
059: }
060:
061: public boolean isDefaultNamespace(String sStr1) {
062: throw new UnsupportedOperationException(
063: "org.w3c.tidy.DOMDocumentImpl isDefaultNamespace() Not implemented");
064: }
065:
066: public boolean isEqualNode(org.w3c.dom.Node oNode) {
067: throw new UnsupportedOperationException(
068: "org.w3c.tidy.DOMDocumentImpl isEqualNode() Not implemented");
069: }
070:
071: public boolean isSameNode(org.w3c.dom.Node oNode) {
072: throw new UnsupportedOperationException(
073: "org.w3c.tidy.DOMDocumentImpl isSameNode() Not implemented");
074: }
075:
076: public String lookupPrefix(String sStr1) {
077: throw new UnsupportedOperationException(
078: "org.w3c.tidy.DOMDocumentImpl lookupPreffix() Not implemented");
079: }
080:
081: public String lookupNamespaceURI(String sStr1) {
082: throw new UnsupportedOperationException(
083: "org.w3c.tidy.DOMDocumentImpl lookupNamespaceURI() Not implemented");
084: }
085:
086: public String getDocumentURI() {
087: throw new UnsupportedOperationException(
088: "org.w3c.tidy.DOMDocumentImpl getDocumentURI() Not implemented");
089: }
090:
091: public void setDocumentURI(String sStr1) {
092: throw new UnsupportedOperationException(
093: "org.w3c.tidy.DOMDocumentImpl setDocumentURI() Not implemented");
094: }
095:
096: public boolean getStrictErrorChecking() {
097: throw new UnsupportedOperationException(
098: "org.w3c.tidy.DOMDocumentImpl getStrictErrorChecking() Not implemented");
099: }
100:
101: public void setStrictErrorChecking(boolean bStrictCheck) {
102: throw new UnsupportedOperationException(
103: "org.w3c.tidy.DOMDocumentImpl setStrictErrorChecking() Not implemented");
104: }
105:
106: public boolean getXmlStandalone() {
107: throw new UnsupportedOperationException(
108: "org.w3c.tidy.DOMDocumentImpl getXmlStandalone() Not implemented");
109: }
110:
111: public void setXmlStandalone(boolean bXmlStandalone) {
112: throw new UnsupportedOperationException(
113: "org.w3c.tidy.DOMDocumentImpl setXmlStandalone() Not implemented");
114: }
115:
116: public Object getFeature(String sStr1, String sStr2) {
117: throw new UnsupportedOperationException(
118: "org.w3c.tidy.DOMDocumentImpl getFeature() Not implemented");
119: }
120:
121: public String getInputEncoding() {
122: throw new UnsupportedOperationException(
123: "org.w3c.tidy.DOMDocumentImpl getInputEncoding() Not implemented");
124: }
125:
126: public String getXmlEncoding() {
127: throw new UnsupportedOperationException(
128: "org.w3c.tidy.DOMDocumentImpl getXmlEncoding() Not implemented");
129: }
130:
131: public String getXmlVersion() {
132: throw new UnsupportedOperationException(
133: "org.w3c.tidy.DOMDocumentImpl getXmlVersion() Not implemented");
134: }
135:
136: public void setXmlVersion(String sStr1) {
137: throw new UnsupportedOperationException(
138: "org.w3c.tidy.DOMDocumentImpl setXmlVersion() Not implemented");
139: }
140:
141: public Object getUserData(String sStr1) {
142: throw new UnsupportedOperationException(
143: "org.w3c.tidy.DOMDocumentImpl getUserData() Not implemented");
144: }
145:
146: public Object setUserData(String sStr1, Object oObj2,
147: org.w3c.dom.UserDataHandler oHndlr) {
148: throw new UnsupportedOperationException(
149: "org.w3c.tidy.DOMDocumentImpl setUserData() Not implemented");
150: }
151:
152: public org.w3c.dom.DOMConfiguration getDomConfig() {
153: throw new UnsupportedOperationException(
154: "org.w3c.tidy.DOMDocumentImpl getDomConfig() Not implemented");
155: }
156:
157: public void normalizeDocument() {
158: throw new UnsupportedOperationException(
159: "org.w3c.tidy.DOMDocumentImpl normalizeDocument() Not implemented");
160: }
161:
162: public org.w3c.dom.Node renameNode(org.w3c.dom.Node oNode,
163: String sStr1, String sStr2) {
164: throw new UnsupportedOperationException(
165: "org.w3c.tidy.DOMDocumentImpl renameNode() Not implemented");
166: }
167:
168: public String getBaseURI() {
169: throw new UnsupportedOperationException(
170: "org.w3c.tidy.DOMDocumentImpl getBaseURI() Not implemented");
171: }
172:
173: public String getTextContent() {
174: throw new UnsupportedOperationException(
175: "org.w3c.tidy.DOMDocumentImpl getTextContent() Not implemented");
176: }
177:
178: public void setTextContent(String sStr1) {
179: throw new UnsupportedOperationException(
180: "org.w3c.tidy.DOMDocumentImpl setTextContent() Not implemented");
181: }
182: }
|