Example usage for Java javax.xml.soap SOAPHeaderElement fields, constructors, methods, implement or subclass
The text is from its open source code.
SOAPElement | addAttribute(Name name, String value) Adds an attribute with the specified name and value to this SOAPElement object. |
SOAPElement | addChildElement(Name name) Creates a new SOAPElement object initialized with the given Name object and adds the new element to this SOAPElement object. |
SOAPElement | addNamespaceDeclaration(String prefix, String uri) Adds a namespace declaration with the specified prefix and URI to this SOAPElement object. |
SOAPElement | addTextNode(String text) Creates a new Text object initialized with the given String and adds it to this SOAPElement object. |
String | getActor() Returns the uri of the actor attribute of this SOAPHeaderElement . |
Iterator | getChildElements() Returns an Iterator over all the immediate child Node s of this element. |
Name | getElementName() Returns the name of this SOAPElement object. |
QName | getElementQName() Returns the qname of this SOAPElement object. |
NodeList | getElementsByTagNameNS(String namespaceURI, String localName) Returns a NodeList of all the descendant Elements with a given local name and namespace URI in document order. |
String | getLocalName() Returns the local part of the qualified name of this node. |
boolean | getMustUnderstand() Returns the boolean value of the mustUnderstand attribute for this SOAPHeaderElement . |
String | getNamespaceURI() The namespace URI of this node, or null if it is unspecified (see ). |
String | getNodeName() The name of this node, depending on its type; see the table above. |
String | getTextContent() This attribute returns the text content of this node and its descendants. |
String | getValue() Returns the value of this node if this is a Text node or the value of the immediate child of this node otherwise. |
void | setActor(String actorURI) Sets the actor associated with this SOAPHeaderElement object to the specified actor. |
void | setIdAttributeNS(String namespaceURI, String localName, boolean isId) If the parameter isId is true , this method declares the specified attribute to be a user-determined ID attribute . |
void | setMustUnderstand(boolean mustUnderstand) Sets the mustUnderstand attribute for this SOAPHeaderElement object to be either true or false. |
void | setPrefix(String prefix) The namespace prefix of this node, or null if it is unspecified. |
void | setTextContent(String textContent) This attribute returns the text content of this node and its descendants. |