Example usage for Java javax.xml.soap SOAPElement 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 | addAttribute(QName qname, 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 | addChildElement(QName qname) Creates a new SOAPElement object initialized with the given QName object and adds the new element to this SOAPElement object. |
SOAPElement | addChildElement(String localName) Creates a new SOAPElement object initialized with the specified local name and adds the new element to this SOAPElement object. |
SOAPElement | addChildElement(SOAPElement element) Add a SOAPElement as a child of this SOAPElement instance. |
SOAPElement | addChildElement(String localName, String prefix) Creates a new SOAPElement object initialized with the specified local name and prefix and adds the new element to this SOAPElement object. |
SOAPElement | addChildElement(String localName, String prefix, String uri) Creates a new SOAPElement object initialized with the specified local name, prefix, and URI 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. |
Node | appendChild(Node newChild) Adds the node newChild to the end of the list of children of this node. |
QName | createQName(String localName, String prefix) Creates a QName whose namespace URI is the one associated with the parameter, prefix , in the context of this SOAPElement . |
void | detachNode() Removes this Node object from the tree. |
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
Iterator | getAllAttributes() Returns an Iterator over all of the attribute Name objects in this SOAPElement object. |
String | getAttribute(String name) Retrieves an attribute value by name. |
Attr | getAttributeNode(String name) Retrieves an attribute node by name. |
Attr | getAttributeNodeNS(String namespaceURI, String localName) Retrieves an Attr node by local name and namespace URI. |
String | getAttributeNS(String namespaceURI, String localName) Retrieves an attribute value by local name and namespace URI. |
NamedNodeMap | getAttributes() A NamedNodeMap containing the attributes of this node (if it is an Element ) or null otherwise. |
String | getAttributeValue(Name name) Returns the value of the attribute with the specified name. |
String | getAttributeValue(QName qname) Returns the value of the attribute with the specified qname. |
Iterator | getChildElements() Returns an Iterator over all the immediate child Node s of this element. |
Iterator | getChildElements(Name name) Returns an Iterator over all the immediate child Node s of this element with the specified name. |
Iterator | getChildElements(QName qname) Returns an Iterator over all the immediate child Node s of this element with the specified qname. |
NodeList | getChildNodes() A NodeList that contains all children of this node. |
Class> | getClass() Returns the runtime class of this Object . |
Name | getElementName() Returns the name of this SOAPElement object. |
QName | getElementQName() Returns the qname of this SOAPElement object. |
Node | getFirstChild() The first child of this node. |
String | getLocalName() Returns the local part of the qualified name of this node. |
Iterator | getNamespacePrefixes() Returns an Iterator over the namespace prefix String s declared by this element. |
String | getNamespaceURI(String prefix) Returns the URI of the namespace that has the given prefix. |
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. |
Document | getOwnerDocument() The Document object associated with this node. |
SOAPElement | getParentElement() Returns the parent element of this Node object. |
String | getPrefix() The namespace prefix of this node, or null if it is unspecified. |
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. |
Iterator | getVisibleNamespacePrefixes() Returns an Iterator over the namespace prefix String s visible to this element. |
boolean | hasAttribute(String name) Returns true when an attribute with a given name is specified on this element or has a default value, false otherwise. |
boolean | hasAttributeNS(String namespaceURI, String localName) Returns true when an attribute with a given local name and namespace URI is specified on this element or has a default value, false otherwise. |
boolean | hasAttributes() Returns whether this node (if it is an element) has any attributes. |
boolean | hasChildNodes() Returns whether this node has any children. |
String | lookupNamespaceURI(String prefix) Look up the namespace URI associated to the given prefix, starting from this node. |
String | lookupPrefix(String namespaceURI) Look up the prefix associated to the given namespace URI, starting from this node. |
boolean | removeAttribute(Name name) Removes the attribute with the specified name. |
boolean | removeAttribute(QName qname) Removes the attribute with the specified qname. |
void | removeContents() Detaches all children of this SOAPElement . |
boolean | removeNamespaceDeclaration(String prefix) Removes the namespace declaration corresponding to the given prefix. |
void | setAttribute(String name, String value) Adds a new attribute. |
void | setAttributeNS(String namespaceURI, String qualifiedName, String value) Adds a new attribute. |
SOAPElement | setElementQName(QName newName) Changes the name of this Element to newName if possible. |
void | setEncodingStyle(String encodingStyle) Sets the encoding style for this SOAPElement object to one specified. |
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. |
void | setValue(String value) If this is a Text node then this method will set its value, otherwise it sets the value of the immediate (Text) child of this node. |