1 19 20 21 package org.netbeans.tax.dom; 22 23 import org.w3c.dom.*; 24 import org.netbeans.tax.*; 25 26 30 abstract class NodeImpl implements Node { 31 32 33 34 NodeImpl() { 35 } 36 37 55 public Node appendChild(Node newChild) throws DOMException { 56 throw new ROException(); 57 } 58 59 83 public Node cloneNode(boolean deep) { 84 return this; 85 } 86 87 91 public NamedNodeMap getAttributes() { 92 return null; 93 } 94 95 100 public NodeList getChildNodes() { 101 return NodeListImpl.EMPTY; 102 } 103 104 108 public Node getFirstChild() { 109 return null; 110 } 111 112 116 public Node getLastChild() { 117 return null; 118 } 119 120 128 public String getLocalName() { 129 return null; 130 } 131 132 147 public String getNamespaceURI() { 148 return null; 149 } 150 151 155 public Node getNextSibling() { 156 return null; 157 } 158 159 162 public abstract String getNodeName(); 163 164 167 public abstract short getNodeType(); 168 169 179 public abstract String getNodeValue() throws DOMException; 180 181 189 public Document getOwnerDocument() { 190 throw new UOException(); 191 } 192 193 201 public abstract Node getParentNode(); 202 203 234 public String getPrefix() { 235 return null; 236 } 237 238 242 public Node getPreviousSibling() { 243 return null; 244 } 245 246 252 public boolean hasAttributes() { 253 return false; 254 } 255 256 261 public boolean hasChildNodes() { 262 return false; 263 } 264 265 289 public Node insertBefore(Node newChild, Node refChild) throws DOMException { 290 throw new ROException(); 291 } 292 293 307 public boolean isSupported(String feature, String version) { 308 return "1.0".equals(version); 309 } 310 311 327 public void normalize() { 328 throw new ROException(); 329 } 330 331 341 public Node removeChild(Node oldChild) throws DOMException { 342 throw new ROException(); 343 } 344 345 368 public Node replaceChild(Node newChild, Node oldChild) throws DOMException { 369 throw new ROException(); 370 } 371 372 382 public void setNodeValue(String nodeValue) throws DOMException { 383 throw new ROException(); 384 } 385 386 417 public void setPrefix(String prefix) throws DOMException { 418 throw new ROException(); 419 } 420 421 425 public short compareDocumentPosition (Node a) { 426 throw new UOException(); 427 } 428 429 public String getBaseURI() { 430 throw new UOException(); 431 } 432 public Object getFeature(String a, String b) { 433 throw new UOException(); 434 } 435 public String getTextContent () { 436 throw new UOException(); 437 } 438 public Object getUserData(String a) { 439 throw new UOException(); 440 } 441 public boolean isDefaultNamespace (String a) { 442 throw new UOException(); 443 } 444 public boolean isEqualNode(Node a) { 445 throw new UOException(); 446 } 447 public boolean isSameNode(Node a) { 448 throw new UOException(); 449 } 450 public String lookupNamespaceURI(String a) { 451 throw new UOException(); 452 } 453 public String lookupPrefix(String a) { 454 throw new UOException(); 455 } 456 public void setTextContent(String a) { 457 throw new UOException(); 458 } 459 public Object setUserData(String a, Object b, UserDataHandler c) { 460 throw new UOException(); 461 } 462 463 public TypeInfo getSchemaTypeInfo() { 465 throw new UOException (); 466 } 467 public void setIdAttribute(String a, boolean b) { 468 throw new UOException (); 469 } 470 public void setIdAttributeNS(String a, String b, boolean c) { 471 throw new UOException (); 472 } 473 public void setIdAttributeNode(Attr a, boolean b) { 474 throw new UOException (); 475 } 476 478 public boolean isId () { 479 throw new UOException (); 480 } 481 public Text replaceWholeText (String a) { 483 throw new UOException (); 484 } 485 public String getWholeText() { 486 throw new UOException (); 487 } 488 public boolean isElementContentWhitespace() { 489 throw new UOException (); 490 } 491 492 } 493 | Popular Tags |