1 19 20 package org.netbeans.modules.xml.spi.dom; 21 22 import org.w3c.dom.*; 23 24 36 public abstract class AbstractNode implements Node { 37 38 public String getNodeName() { 39 return null; 40 } 41 42 45 public boolean isSupported(String feature, String version) { 46 return "1.0".equals(version); 47 } 48 49 public void setPrefix(String str) throws org.w3c.dom.DOMException { 50 throw new ROException(); 51 } 52 53 public String getPrefix() { 54 return null; } 56 57 public org.w3c.dom.Node getPreviousSibling() { 58 return null; 59 } 60 61 public abstract short getNodeType(); 63 64 public org.w3c.dom.Document getOwnerDocument() { 65 return null; 67 } 68 69 public org.w3c.dom.Node replaceChild(org.w3c.dom.Node node, org.w3c.dom.Node node1) throws org.w3c.dom.DOMException { 70 throw new ROException(); 71 } 72 73 public org.w3c.dom.Node cloneNode(boolean param) { 74 return (Node) this; } 76 77 public org.w3c.dom.Node getNextSibling() { 78 return null; 79 } 80 81 public org.w3c.dom.Node insertBefore(org.w3c.dom.Node node, org.w3c.dom.Node node1) throws org.w3c.dom.DOMException { 82 throw new ROException(); 83 } 84 85 public String getNamespaceURI() { 86 return null; } 88 89 public org.w3c.dom.NamedNodeMap getAttributes() { 90 return NamedNodeMapImpl.EMPTY; 91 } 92 93 public org.w3c.dom.NodeList getChildNodes() { 94 return NodeListImpl.EMPTY; 95 } 96 97 public String getNodeValue() throws org.w3c.dom.DOMException { 98 return null; 100 } 101 102 public org.w3c.dom.Node appendChild(org.w3c.dom.Node node) throws org.w3c.dom.DOMException { 103 throw new ROException(); 104 } 105 106 public String getLocalName() { 107 return null; } 109 110 public org.w3c.dom.Node getParentNode() { 111 return null; 112 } 113 114 public void setNodeValue(String str) throws org.w3c.dom.DOMException { 115 throw new ROException(); 116 } 117 118 public org.w3c.dom.Node getLastChild() { 119 return null; 120 } 121 122 public boolean hasAttributes() { 123 throw new UOException(); 124 } 125 126 public void normalize() { 127 } 129 130 public org.w3c.dom.Node removeChild(org.w3c.dom.Node node) throws org.w3c.dom.DOMException { 131 throw new ROException(); 132 } 133 134 137 public boolean hasChildNodes() { 138 return false; 139 } 140 141 144 public org.w3c.dom.Node getFirstChild() { 145 return null; 146 } 147 148 149 151 public NodeList getElementsByTagNameNS(String namespaceURI, String localName) { 152 throw new UOException(); 153 } 154 155 public String getAttributeNS(String namespaceURI, String localName) { 156 throw new UOException(); 157 } 158 159 public String getAttribute(String name) { 160 throw new UOException(); 161 } 162 163 public Attr removeAttributeNode(Attr oldAttr) throws DOMException { 164 throw new UOException(); 165 } 166 167 public Attr getAttributeNode(String name) { 168 throw new UOException(); 169 } 170 171 public boolean hasAttribute(String name) { 172 throw new UOException(); 173 } 174 175 public String getTagName() { 176 throw new UOException(); 177 } 178 179 public Attr getAttributeNodeNS(String namespaceURI, String localName) { 180 throw new UOException(); 181 } 182 183 public void removeAttribute(String name) throws DOMException { 184 throw new UOException(); 185 } 186 187 public Attr setAttributeNodeNS(Attr newAttr) throws DOMException { 188 throw new UOException(); 189 } 190 191 public void setAttribute(String name, String value) throws DOMException { 192 throw new UOException(); 193 } 194 195 public NodeList getElementsByTagName(String name) { 196 throw new UOException(); 197 } 198 199 public boolean hasAttributeNS(String namespaceURI, String localName) { 200 throw new UOException(); 201 } 202 203 public Attr setAttributeNode(Attr newAttr) throws DOMException { 204 throw new UOException(); 205 } 206 207 public void removeAttributeNS(String namespaceURI, String localName) throws DOMException { 208 throw new UOException(); 209 } 210 211 public void setAttributeNS(String namespaceURI, String qualifiedName, String value) throws DOMException { 212 throw new UOException(); 213 } 214 215 216 218 public boolean getSpecified() { 219 throw new UOException(); 220 } 221 222 public String getName() { 223 throw new UOException(); 224 } 225 226 public Element getOwnerElement() { 227 throw new UOException(); 228 } 229 230 public void setValue(String value) throws DOMException { 231 throw new UOException(); 232 } 233 234 public String getValue() { 235 throw new UOException(); 236 } 237 238 240 public String getPublicId() { 241 throw new UOException(); 242 } 243 244 public String getSystemId() { 245 throw new UOException(); 246 } 247 248 249 251 public void insertData(int offset, String arg) throws DOMException { 252 throw new ROException(); 253 } 254 255 public void replaceData(int offset, int count, String arg) throws DOMException { 256 throw new ROException(); 257 } 258 259 public void setData(String data) throws DOMException { 260 throw new ROException(); 261 } 262 263 public Text splitText(int offset) throws DOMException { 264 throw new ROException(); 265 } 266 267 public String substringData(int offset, int count) throws DOMException { 268 throw new UOException(); 269 } 270 271 public void appendData(String arg) throws DOMException { 272 throw new ROException(); 273 } 274 275 public void deleteData(int offset, int count) throws DOMException { 276 throw new ROException(); 277 } 278 279 public String getData() throws DOMException { 280 throw new UOException(); 281 } 282 283 public int getLength() { 284 throw new UOException(); 285 } 286 287 291 public short compareDocumentPosition (Node a) { 292 throw new UOException(); 293 } 294 295 public String getBaseURI() { 296 throw new UOException(); 297 } 298 public Object getFeature(String a, String b) { 299 throw new UOException(); 300 } 301 public String getTextContent () { 302 throw new UOException(); 303 } 304 public Object getUserData(String a) { 305 throw new UOException(); 306 } 307 public boolean isDefaultNamespace (String a) { 308 throw new UOException(); 309 } 310 public boolean isEqualNode(Node a) { 311 throw new UOException(); 312 } 313 public boolean isSameNode(Node a) { 314 throw new UOException(); 315 } 316 public String lookupNamespaceURI(String a) { 317 throw new UOException(); 318 } 319 public String lookupPrefix(String a) { 320 throw new UOException(); 321 } 322 public void setTextContent(String a) { 323 throw new UOException(); 324 } 325 public Object setUserData(String a, Object b, UserDataHandler c) { 326 throw new UOException(); 327 } 328 329 public TypeInfo getSchemaTypeInfo() { 331 throw new UOException (); 332 } 333 public void setIdAttribute(String a, boolean b) { 334 throw new UOException (); 335 } 336 public void setIdAttributeNS(String a, String b, boolean c) { 337 throw new UOException (); 338 } 339 public void setIdAttributeNode(Attr a, boolean b) { 340 throw new UOException (); 341 } 342 344 public boolean isId () { 345 throw new UOException (); 346 } 347 public Text replaceWholeText (String a) { 349 throw new UOException (); 350 } 351 public String getWholeText() { 352 throw new UOException (); 353 } 354 public boolean isElementContentWhitespace() { 355 throw new UOException (); 356 } 357 358 public Node adoptNode (Node a) { 360 throw new UOException (); 361 } 362 public String getDocumentURI () { 363 throw new UOException (); 364 } 365 public DOMConfiguration getDomConfig() { 366 throw new UOException (); 367 } 368 public String getInputEncoding() { 369 throw new UOException (); 370 } 371 public boolean getStrictErrorChecking() { 372 throw new UOException (); 373 } 374 public String getXmlEncoding () { 375 throw new UOException (); 376 } 377 public boolean getXmlStandalone() { 378 throw new UOException (); 379 } 380 public String getXmlVersion() { 381 throw new UOException (); 382 } 383 public void normalizeDocument() { 384 throw new UOException (); 385 } 386 public Node renameNode(Node a, String nb, String c) { 387 throw new UOException (); 388 } 389 public void setDocumentURI(String a) { 390 throw new UOException (); 391 } 392 public void setStrictErrorChecking(boolean a) { 393 throw new UOException (); 394 } 395 public void setXmlStandalone(boolean a) { 396 throw new UOException (); 397 } 398 public void setXmlVersion(String a) { 399 throw new UOException (); 400 } 401 402 } 403 | Popular Tags |