1 6 7 28 package javax.xml.soap; 29 30 import java.util.Iterator ; 31 32 import javax.xml.namespace.QName ; 33 34 46 public interface SOAPElement extends Node , org.w3c.dom.Element { 47 48 64 public SOAPElement addChildElement(Name name) throws SOAPException ; 65 66 81 public SOAPElement addChildElement(QName qname) throws SOAPException ; 82 83 95 public SOAPElement addChildElement(String localName) throws SOAPException ; 96 97 112 public SOAPElement addChildElement(String localName, String prefix) 113 throws SOAPException ; 114 115 131 public SOAPElement addChildElement(String localName, String prefix, 132 String uri) 133 throws SOAPException ; 134 135 166 public SOAPElement addChildElement(SOAPElement element) 167 throws SOAPException ; 168 169 180 public abstract void removeContents(); 181 182 195 public SOAPElement addTextNode(String text) throws SOAPException ; 196 197 212 public SOAPElement addAttribute(Name name, String value) 213 throws SOAPException ; 214 215 231 public SOAPElement addAttribute(QName qname, String value) 232 throws SOAPException ; 233 234 246 public SOAPElement addNamespaceDeclaration(String prefix, String uri) 247 throws SOAPException ; 248 249 257 public String getAttributeValue(Name name); 258 259 268 public String getAttributeValue(QName qname); 269 270 281 public Iterator getAllAttributes(); 282 283 294 public Iterator getAllAttributesAsQNames(); 295 296 297 305 public String getNamespaceURI(String prefix); 306 307 316 public Iterator getNamespacePrefixes(); 317 318 329 public Iterator getVisibleNamespacePrefixes(); 330 331 355 public QName createQName(String localName, String prefix) 356 throws SOAPException ; 357 363 public Name getElementName(); 364 365 373 public QName getElementQName(); 374 375 393 public SOAPElement setElementQName(QName newName) throws SOAPException ; 394 395 404 public boolean removeAttribute(Name name); 405 406 416 public boolean removeAttribute(QName qname); 417 418 426 public boolean removeNamespaceDeclaration(String prefix); 427 428 448 public Iterator getChildElements(); 449 450 475 public Iterator getChildElements(Name name); 476 477 503 public Iterator getChildElements(QName qname); 504 505 516 public void setEncodingStyle(String encodingStyle) 517 throws SOAPException ; 518 525 public String getEncodingStyle(); 526 } 527 | Popular Tags |