1 19 20 package org.netbeans.modules.xml.text.syntax.dom; 21 22 import org.w3c.dom.*; 23 import org.netbeans.modules.xml.text.syntax.*; 24 import org.netbeans.modules.xml.spi.dom.*; 25 import javax.swing.text.BadLocationException ; 26 27 public class DocumentImpl extends AbstractNode implements org.w3c.dom.Document { 28 29 SyntaxElement syntax; 30 31 DocumentImpl(SyntaxElement element) { 32 syntax = element; 33 } 34 35 public org.w3c.dom.Attr createAttribute(String str) throws org.w3c.dom.DOMException { 36 return null; 37 } 38 39 public org.w3c.dom.Element getElementById(String str) { 40 return null; 41 } 42 43 public String getVersion() { 44 throw new UOException(); 45 } 46 47 public org.w3c.dom.Element createElement(String str) throws org.w3c.dom.DOMException { 48 return null; 49 } 50 51 public boolean getStrictErrorChecking() { 52 throw new UOException(); 53 } 54 55 public org.w3c.dom.DOMImplementation getImplementation() { 56 return new DOMImplementationImpl(); 57 } 58 59 public org.w3c.dom.Element createElementNS(String str, String str1) throws org.w3c.dom.DOMException { 60 throw new UOException(); 61 } 62 63 public org.w3c.dom.DocumentFragment createDocumentFragment() { 64 return null; 65 } 66 67 public org.w3c.dom.NodeList getElementsByTagNameNS(String str, String str1) { 68 return NodeListImpl.EMPTY; } 70 71 public void setVersion(String str) { 72 throw new UOException(); 73 } 74 75 public org.w3c.dom.Attr createAttributeNS(String str, String str1) throws org.w3c.dom.DOMException { 76 return null; 77 } 78 79 public void setStrictErrorChecking(boolean param) { 80 throw new UOException(); 81 } 82 83 public void setEncoding(String str) { 84 throw new UOException(); 85 } 86 87 public org.w3c.dom.ProcessingInstruction createProcessingInstruction(String str, String str1) throws org.w3c.dom.DOMException { 88 return null; 89 } 90 91 public org.w3c.dom.NodeList getElementsByTagName(String str) { 92 return NodeListImpl.EMPTY; } 94 95 public org.w3c.dom.Element getDocumentElement() { 96 return null; } 98 99 public org.w3c.dom.DocumentType getDoctype() { 100 return null; 106 } 108 109 public org.w3c.dom.CDATASection createCDATASection(String str) throws org.w3c.dom.DOMException { 110 return null; 111 } 112 113 public org.w3c.dom.EntityReference createEntityReference(String str) throws org.w3c.dom.DOMException { 114 return null; 115 } 116 117 public boolean getStandalone() { 118 throw new UOException(); 119 } 120 121 public short getNodeType() { 122 return Node.DOCUMENT_NODE; 123 } 124 125 public org.w3c.dom.Node adoptNode(org.w3c.dom.Node node) throws org.w3c.dom.DOMException { 126 throw new ROException(); 127 } 128 129 public org.w3c.dom.Text createTextNode(String str) { 130 return null; 131 } 132 133 public String getEncoding() { 134 throw new UOException(); 135 } 136 137 public org.w3c.dom.Comment createComment(String str) { 138 return null; 139 } 140 141 public void setStandalone(boolean param) { 142 throw new UOException(); 143 } 144 145 public org.w3c.dom.Node importNode(org.w3c.dom.Node node, boolean param) throws org.w3c.dom.DOMException { 146 throw new ROException(); 147 } 148 149 } 150 151 | Popular Tags |