1 57 58 package com.sun.org.apache.xerces.internal.impl.xs.opti; 59 60 import org.w3c.dom.DOMConfiguration ; 61 import org.w3c.dom.Attr ; 62 import org.w3c.dom.Node ; 63 import org.w3c.dom.Text ; 64 import org.w3c.dom.Element ; 65 import org.w3c.dom.Comment ; 66 import org.w3c.dom.Document ; 67 import org.w3c.dom.NodeList ; 68 import org.w3c.dom.DocumentType ; 69 import org.w3c.dom.CDATASection ; 70 import org.w3c.dom.EntityReference ; 71 import org.w3c.dom.DocumentFragment ; 72 import org.w3c.dom.DOMImplementation ; 73 import org.w3c.dom.ProcessingInstruction ; 74 75 import org.w3c.dom.DOMException ; 76 77 78 83 public class DefaultDocument extends NodeImpl 84 implements Document { 85 86 public DefaultDocument() { 88 } 89 90 94 public DocumentType getDoctype() { 95 return null; 96 } 97 98 99 public DOMImplementation getImplementation() { 100 return null; 101 } 102 103 104 public Element getDocumentElement() { 105 return null; 106 } 107 108 109 public NodeList getElementsByTagName(String tagname) { 110 return null; 111 } 112 113 114 public NodeList getElementsByTagNameNS(String namespaceURI, String localName) { 115 return null; 116 } 117 118 119 public Element getElementById(String elementId) { 120 return null; 121 } 122 123 124 public Node importNode(Node importedNode, boolean deep) throws DOMException { 125 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 126 } 127 128 129 public Element createElement(String tagName) throws DOMException { 130 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 131 } 132 133 134 public DocumentFragment createDocumentFragment() { 135 return null; 136 } 137 138 139 public Text createTextNode(String data) { 140 return null; 141 } 142 143 public Comment createComment(String data) { 144 return null; 145 } 146 147 148 public CDATASection createCDATASection(String data) throws DOMException { 149 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 150 } 151 152 153 public ProcessingInstruction createProcessingInstruction(String target, String data) throws DOMException { 154 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 155 } 156 157 158 public Attr createAttribute(String name) throws DOMException { 159 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 160 } 161 162 163 public EntityReference createEntityReference(String name) throws DOMException { 164 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 165 } 166 167 168 public Element createElementNS(String namespaceURI, String qualifiedName) throws DOMException { 169 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 170 } 171 172 173 public Attr createAttributeNS(String namespaceURI, String qualifiedName) throws DOMException { 174 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 175 } 176 177 179 public String getInputEncoding(){ 180 return null; 181 } 182 183 188 189 public String getXmlEncoding(){ 190 return null; 191 } 192 193 194 202 203 209 public boolean getXmlStandalone(){ 210 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 211 } 212 218 public void setXmlStandalone(boolean standalone){ 219 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 220 } 221 222 231 public String getXmlVersion(){ 232 return null; 233 } 234 243 public void setXmlVersion(String version) throws DOMException { 244 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 245 } 246 247 256 public boolean getStrictErrorChecking(){ 257 return false; 258 } 259 268 public void setStrictErrorChecking(boolean strictErrorChecking){ 269 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 270 } 271 272 279 public String getDocumentURI(){ 280 return null; 281 } 282 289 public void setDocumentURI(String documentURI){ 290 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 291 } 292 293 294 public Node adoptNode(Node source) throws DOMException { 295 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 296 } 297 298 299 public void normalizeDocument(){ 300 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 301 } 302 303 308 public DOMConfiguration getDomConfig(){ 309 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 310 } 311 312 313 public Node renameNode(Node n,String namespaceURI, String name) throws DOMException { 314 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 315 } 316 317 318 319 320 321 322 323 324 } 325 | Popular Tags |