1 57 58 package com.sun.org.apache.xerces.internal.impl.xs.opti; 59 60 import org.w3c.dom.TypeInfo ; 61 import org.w3c.dom.Attr ; 62 import org.w3c.dom.Element ; 63 import org.w3c.dom.NodeList ; 64 65 import org.w3c.dom.DOMException ; 66 67 68 73 public class DefaultElement extends NodeImpl 74 implements Element { 75 76 public DefaultElement() { 78 } 79 80 81 public DefaultElement(String prefix, String localpart, String rawname, String uri, short nodeType) { 82 super(prefix, localpart, rawname, uri, nodeType); 83 } 84 85 86 90 public String getTagName() { 92 return null; 93 } 94 95 96 public String getAttribute(String name) { 97 return null; 98 } 99 100 101 public Attr getAttributeNode(String name) { 102 return null; 103 } 104 105 106 public NodeList getElementsByTagName(String name) { 107 return null; 108 } 109 110 111 public String getAttributeNS(String namespaceURI, String localName) { 112 return null; 113 } 114 115 116 public Attr getAttributeNodeNS(String namespaceURI, String localName) { 117 return null; 118 } 119 120 121 public NodeList getElementsByTagNameNS(String namespaceURI, String localName) { 122 return null; 123 } 124 125 126 public boolean hasAttribute(String name) { 127 return false; 128 } 129 130 131 public boolean hasAttributeNS(String namespaceURI, String localName) { 132 return false; 133 } 134 135 public TypeInfo getSchemaTypeInfo(){ 136 return null; 137 } 138 139 140 public void setAttribute(String name, String value) throws DOMException { 142 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 143 } 144 145 146 public void removeAttribute(String name) throws DOMException { 147 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 148 } 149 150 151 public Attr removeAttributeNode(Attr oldAttr) throws DOMException { 152 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 153 } 154 155 156 public Attr setAttributeNode(Attr newAttr) throws DOMException { 157 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 158 } 159 160 161 public void setAttributeNS(String namespaceURI, String qualifiedName, String value) throws DOMException { 162 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 163 } 164 165 166 public void removeAttributeNS(String namespaceURI, String localName) throws DOMException { 167 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 168 } 169 170 171 public Attr setAttributeNodeNS(Attr newAttr) throws DOMException { 172 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 173 } 174 175 public void setIdAttributeNode(Attr at, boolean makeId) throws DOMException { 176 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 177 } 178 public void setIdAttribute(String name, boolean makeId) throws DOMException { 179 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 180 } 181 182 public void setIdAttributeNS(String namespaceURI, String localName, 183 boolean makeId) throws DOMException { 184 throw new DOMException (DOMException.NOT_SUPPORTED_ERR, "Method not supported"); 185 } 186 187 } 188 189 190 | Popular Tags |