1 16 17 package org.apache.xerces.impl.xs.opti; 18 19 import org.w3c.dom.TypeInfo ; 20 import org.w3c.dom.Attr ; 21 import org.w3c.dom.Element ; 22 import org.w3c.dom.NodeList ; 23 24 import org.w3c.dom.DOMException ; 25 26 27 34 public class DefaultElement extends NodeImpl 35 implements Element { 36 37 public DefaultElement() { 39 } 40 41 42 public DefaultElement(String prefix, String localpart, String rawname, String uri, short nodeType) { 43 super(prefix, localpart, rawname, uri, nodeType); 44 } 45 46 47 51 public String getTagName() { 53 return null; 54 } 55 56 57 public String getAttribute(String name) { 58 return null; 59 } 60 61 62 public Attr getAttributeNode(String name) { 63 return null; 64 } 65 66 67 public NodeList getElementsByTagName(String name) { 68 return null; 69 } 70 71 72 public String getAttributeNS(String namespaceURI, String localName) { 73 return null; 74 } 75 76 77 public Attr getAttributeNodeNS(String namespaceURI, String localName) { 78 return null; 79 } 80 81 82 public NodeList getElementsByTagNameNS(String namespaceURI, String localName) { 83 return null; 84 } 85 86 87 public boolean hasAttribute(String name) { 88 return false; 89 } 90 91 92 public boolean hasAttributeNS(String namespaceURI, String localName) { 93 return false; 94 } 95 96 public TypeInfo getSchemaTypeInfo(){ 97 return null; 98 } 99 100 101 public void setAttribute(String name, String value) throws DOMException { 103 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 104 } 105 106 107 public void removeAttribute(String name) throws DOMException { 108 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 109 } 110 111 112 public Attr removeAttributeNode(Attr oldAttr) throws DOMException { 113 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 114 } 115 116 117 public Attr setAttributeNode(Attr newAttr) throws DOMException { 118 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 119 } 120 121 122 public void setAttributeNS(String namespaceURI, String qualifiedName, String value) throws DOMException { 123 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 124 } 125 126 127 public void removeAttributeNS(String namespaceURI, String localName) throws DOMException { 128 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 129 } 130 131 132 public Attr setAttributeNodeNS(Attr newAttr) throws DOMException { 133 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 134 } 135 136 public void setIdAttributeNode(Attr at, boolean makeId) throws DOMException { 137 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 138 } 139 public void setIdAttribute(String name, boolean makeId) throws DOMException { 140 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 141 } 142 143 public void setIdAttributeNS(String namespaceURI, String localName, 144 boolean makeId) throws DOMException { 145 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 146 } 147 148 } 149 | Popular Tags |