1 5 6 package org.w3c.tidy; 7 8 import org.w3c.dom.DOMException ; 9 10 30 31 public class DOMAttrImpl extends DOMNodeImpl implements org.w3c.dom.Attr { 32 33 protected AttVal avAdaptee; 34 35 protected DOMAttrImpl(AttVal adaptee) 36 { 37 super(null); this.avAdaptee = adaptee; 39 } 40 41 42 43 44 public String getNodeValue() throws DOMException 45 { 46 return getValue(); 47 } 48 49 public void setNodeValue(String nodeValue) throws DOMException 50 { 51 setValue(nodeValue); 52 } 53 54 public String getNodeName() 55 { 56 return getName(); 57 } 58 59 public short getNodeType() 60 { 61 return org.w3c.dom.Node.ATTRIBUTE_NODE; 62 } 63 64 public org.w3c.dom.Node getParentNode() 65 { 66 return null; 67 } 68 69 public org.w3c.dom.NodeList getChildNodes() 70 { 71 return null; 73 } 74 75 public org.w3c.dom.Node getFirstChild() 76 { 77 return null; 79 } 80 81 public org.w3c.dom.Node getLastChild() 82 { 83 return null; 85 } 86 87 public org.w3c.dom.Node getPreviousSibling() 88 { 89 return null; 90 } 91 92 public org.w3c.dom.Node getNextSibling() 93 { 94 return null; 95 } 96 97 public org.w3c.dom.NamedNodeMap getAttributes() 98 { 99 return null; 100 } 101 102 public org.w3c.dom.Document getOwnerDocument() 103 { 104 return null; 105 } 106 107 public org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild, 108 org.w3c.dom.Node refChild) 109 throws DOMException 110 { 111 throw new DOMExceptionImpl(DOMException.NO_MODIFICATION_ALLOWED_ERR, 112 "Not supported"); 113 } 114 115 public org.w3c.dom.Node replaceChild(org.w3c.dom.Node newChild, 116 org.w3c.dom.Node oldChild) 117 throws DOMException 118 { 119 throw new DOMExceptionImpl(DOMException.NO_MODIFICATION_ALLOWED_ERR, 120 "Not supported"); 121 } 122 123 public org.w3c.dom.Node removeChild(org.w3c.dom.Node oldChild) 124 throws DOMException 125 { 126 throw new DOMExceptionImpl(DOMException.NO_MODIFICATION_ALLOWED_ERR, 127 "Not supported"); 128 } 129 130 public org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild) 131 throws DOMException 132 { 133 throw new DOMExceptionImpl(DOMException.NO_MODIFICATION_ALLOWED_ERR, 134 "Not supported"); 135 } 136 137 public boolean hasChildNodes() 138 { 139 return false; 140 } 141 142 public org.w3c.dom.Node cloneNode(boolean deep) 143 { 144 return null; 145 } 146 147 150 public String getName() 151 { 152 return avAdaptee.attribute; 153 } 154 155 158 public boolean getSpecified() 159 { 160 return true; 161 } 162 163 170 public String getValue() 171 { 172 return (avAdaptee.value == null) ? avAdaptee.attribute : avAdaptee.value ; 173 } 174 175 178 public void setValue(String value) 179 { 180 avAdaptee.value = value; 181 } 182 183 186 public org.w3c.dom.Element getOwnerElement() { 187 return null; 188 } 189 190 public boolean isId() { 191 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl isId() Not implemented"); 192 } 193 194 public org.w3c.dom.TypeInfo getSchemaTypeInfo() { 195 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl getSchemaTypeInfo() Not implemented"); 196 } 197 198 public org.w3c.dom.Node adoptNode (org.w3c.dom.Node oNode) { 199 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl adoptNode() Not implemented"); 200 } 201 202 public short compareDocumentPosition (org.w3c.dom.Node oNode) { 203 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl compareDocumentPosition() Not implemented"); 204 } 205 206 public boolean isDefaultNamespace(String sStr1) { 207 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl isDefaultNamespace() Not implemented"); 208 } 209 210 public boolean isEqualNode(org.w3c.dom.Node oNode) { 211 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl isEqualNode() Not implemented"); 212 } 213 214 public boolean isSameNode(org.w3c.dom.Node oNode) { 215 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl isSameNode() Not implemented"); 216 } 217 218 public String lookupPrefix(String sStr1) { 219 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl lookupPreffix() Not implemented"); 220 } 221 222 public String lookupNamespaceURI(String sStr1) { 223 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl lookupNamespaceURI() Not implemented"); 224 } 225 226 public String getDocumentURI() { 227 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl getDocumentURI() Not implemented"); 228 } 229 230 public void setDocumentURI(String sStr1) { 231 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl setDocumentURI() Not implemented"); 232 } 233 234 public boolean getStrictErrorChecking() { 235 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl getStrictErrorChecking() Not implemented"); 236 } 237 238 public void setStrictErrorChecking(boolean bStrictCheck) { 239 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl setStrictErrorChecking() Not implemented"); 240 } 241 242 public boolean getXmlStandalone() { 243 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl getXmlStandalone() Not implemented"); 244 } 245 246 public void setXmlStandalone(boolean bXmlStandalone) { 247 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl setXmlStandalone() Not implemented"); 248 } 249 250 public Object getFeature(String sStr1, String sStr2) { 251 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl getFeature() Not implemented"); 252 } 253 254 public String getInputEncoding() { 255 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl getInputEncoding() Not implemented"); 256 } 257 258 public String getXmlEncoding() { 259 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl getXmlEncoding() Not implemented"); 260 } 261 262 public String getXmlVersion() { 263 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl getXmlVersion() Not implemented"); 264 } 265 266 public void setXmlVersion(String sStr1) { 267 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl setXmlVersion() Not implemented"); 268 } 269 270 public Object getUserData(String sStr1) { 271 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl getUserData() Not implemented"); 272 } 273 274 public Object setUserData(String sStr1, Object oObj2, org.w3c.dom.UserDataHandler oHndlr) { 275 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl setUserData() Not implemented"); 276 } 277 278 public org.w3c.dom.DOMConfiguration getDomConfig () { 279 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl getDomConfig() Not implemented"); 280 } 281 282 public void normalizeDocument () { 283 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl normalizeDocument() Not implemented"); 284 } 285 286 public org.w3c.dom.Node renameNode (org.w3c.dom.Node oNode, String sStr1, String sStr2) { 287 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl renameNode() Not implemented"); 288 } 289 290 public String getBaseURI() { 291 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl getBaseURI() Not implemented"); 292 } 293 294 public String getTextContent() { 295 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl getTextContent() Not implemented"); 296 } 297 298 public void setTextContent(String sStr1) { 299 throw new UnsupportedOperationException ("org.w3c.tidy.DOMAttrImpl setTextContent() Not implemented"); 300 } 301 302 } 303 | Popular Tags |