1 5 6 package org.w3c.tidy; 7 8 import org.w3c.dom.DOMException ; 9 10 27 28 public class DOMDocumentTypeImpl extends DOMNodeImpl 29 implements org.w3c.dom.DocumentType { 30 31 protected DOMDocumentTypeImpl(Node adaptee) 32 { 33 super(adaptee); 34 } 35 36 37 38 39 42 public short getNodeType() 43 { 44 return org.w3c.dom.Node.DOCUMENT_TYPE_NODE; 45 } 46 47 50 public String getNodeName() 51 { 52 return getName(); 53 } 54 55 58 public String getName() 59 { 60 String value = null; 61 if (adaptee.type == Node.DocTypeTag) 62 { 63 64 if (adaptee.textarray != null && adaptee.start < adaptee.end) 65 { 66 value = Lexer.getString(adaptee.textarray, 67 adaptee.start, 68 adaptee.end - adaptee.start); 69 } 70 } 71 return value; 72 } 73 74 public org.w3c.dom.NamedNodeMap getEntities() 75 { 76 return null; 78 } 79 80 public org.w3c.dom.NamedNodeMap getNotations() 81 { 82 return null; 84 } 85 86 89 public String getPublicId() { 90 return null; 91 } 92 93 96 public String getSystemId() { 97 return null; 98 } 99 100 103 public String getInternalSubset() { 104 return null; 105 } 106 107 public org.w3c.dom.Node adoptNode (org.w3c.dom.Node oNode) { 108 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl adoptNode() Not implemented"); 109 } 110 111 public short compareDocumentPosition (org.w3c.dom.Node oNode) { 112 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl compareDocumentPosition() Not implemented"); 113 } 114 115 public boolean isDefaultNamespace(String sStr1) { 116 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl isDefaultNamespace() Not implemented"); 117 } 118 119 public boolean isEqualNode(org.w3c.dom.Node oNode) { 120 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl isEqualNode() Not implemented"); 121 } 122 123 public boolean isSameNode(org.w3c.dom.Node oNode) { 124 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl isSameNode() Not implemented"); 125 } 126 127 public String lookupPrefix(String sStr1) { 128 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl lookupPreffix() Not implemented"); 129 } 130 131 public String lookupNamespaceURI(String sStr1) { 132 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl lookupNamespaceURI() Not implemented"); 133 } 134 135 public String getDocumentURI() { 136 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl getDocumentURI() Not implemented"); 137 } 138 139 public void setDocumentURI(String sStr1) { 140 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl setDocumentURI() Not implemented"); 141 } 142 143 public boolean getStrictErrorChecking() { 144 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl getStrictErrorChecking() Not implemented"); 145 } 146 147 public void setStrictErrorChecking(boolean bStrictCheck) { 148 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl setStrictErrorChecking() Not implemented"); 149 } 150 151 public boolean getXmlStandalone() { 152 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl getXmlStandalone() Not implemented"); 153 } 154 155 public void setXmlStandalone(boolean bXmlStandalone) { 156 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl setXmlStandalone() Not implemented"); 157 } 158 159 public Object getFeature(String sStr1, String sStr2) { 160 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl getFeature() Not implemented"); 161 } 162 163 public String getInputEncoding() { 164 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl getInputEncoding() Not implemented"); 165 } 166 167 public String getXmlEncoding() { 168 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl getXmlEncoding() Not implemented"); 169 } 170 171 public String getXmlVersion() { 172 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl getXmlVersion() Not implemented"); 173 } 174 175 public void setXmlVersion(String sStr1) { 176 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl setXmlVersion() Not implemented"); 177 } 178 179 public Object getUserData(String sStr1) { 180 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl getUserData() Not implemented"); 181 } 182 183 public Object setUserData(String sStr1, Object oObj2, org.w3c.dom.UserDataHandler oHndlr) { 184 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl setUserData() Not implemented"); 185 } 186 187 public org.w3c.dom.DOMConfiguration getDomConfig () { 188 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl getDomConfig() Not implemented"); 189 } 190 191 public void normalizeDocument () { 192 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl normalizeDocument() Not implemented"); 193 } 194 195 public org.w3c.dom.Node renameNode (org.w3c.dom.Node oNode, String sStr1, String sStr2) { 196 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl renameNode() Not implemented"); 197 } 198 199 public String getBaseURI() { 200 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl getBaseURI() Not implemented"); 201 } 202 203 public String getTextContent() { 204 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl getTextContent() Not implemented"); 205 } 206 207 public void setTextContent(String sStr1) { 208 throw new UnsupportedOperationException ("org.w3c.tidy.DOMDocumentTypeImpl setTextContent() Not implemented"); 209 } 210 } 211 | Popular Tags |