Java javax.xml.soap SOAPElement fields, constructors, methods, implement or subclass

Example usage for Java javax.xml.soap SOAPElement fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.xml.soap SOAPElement.

The text is from its open source code.

Implementation

javax.xml.soap.SOAPElement has the following implementations.
Click this link to see all its implementation.

Method

SOAPElementaddAttribute(Name name, String value)
Adds an attribute with the specified name and value to this SOAPElement object.
SOAPElementaddAttribute(QName qname, String value)
Adds an attribute with the specified name and value to this SOAPElement object.
SOAPElementaddChildElement(Name name)
Creates a new SOAPElement object initialized with the given Name object and adds the new element to this SOAPElement object.
SOAPElementaddChildElement(QName qname)
Creates a new SOAPElement object initialized with the given QName object and adds the new element to this SOAPElement object.
SOAPElementaddChildElement(String localName)
Creates a new SOAPElement object initialized with the specified local name and adds the new element to this SOAPElement object.
SOAPElementaddChildElement(SOAPElement element)
Add a SOAPElement as a child of this SOAPElement instance.
SOAPElementaddChildElement(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.
SOAPElementaddChildElement(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.
SOAPElementaddNamespaceDeclaration(String prefix, String uri)
Adds a namespace declaration with the specified prefix and URI to this SOAPElement object.
SOAPElementaddTextNode(String text)
Creates a new Text object initialized with the given String and adds it to this SOAPElement object.
NodeappendChild(Node newChild)
Adds the node newChild to the end of the list of children of this node.
QNamecreateQName(String localName, String prefix)
Creates a QName whose namespace URI is the one associated with the parameter, prefix , in the context of this SOAPElement .
voiddetachNode()
Removes this Node object from the tree.
booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
IteratorgetAllAttributes()
Returns an Iterator over all of the attribute Name objects in this SOAPElement object.
StringgetAttribute(String name)
Retrieves an attribute value by name.
AttrgetAttributeNode(String name)
Retrieves an attribute node by name.
AttrgetAttributeNodeNS(String namespaceURI, String localName)
Retrieves an Attr node by local name and namespace URI.
StringgetAttributeNS(String namespaceURI, String localName)
Retrieves an attribute value by local name and namespace URI.
NamedNodeMapgetAttributes()
A NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise.
StringgetAttributeValue(Name name)
Returns the value of the attribute with the specified name.
StringgetAttributeValue(QName qname)
Returns the value of the attribute with the specified qname.
IteratorgetChildElements()
Returns an Iterator over all the immediate child Node s of this element.
IteratorgetChildElements(Name name)
Returns an Iterator over all the immediate child Node s of this element with the specified name.
IteratorgetChildElements(QName qname)
Returns an Iterator over all the immediate child Node s of this element with the specified qname.
NodeListgetChildNodes()
A NodeList that contains all children of this node.
ClassgetClass()
Returns the runtime class of this Object .
NamegetElementName()
Returns the name of this SOAPElement object.
QNamegetElementQName()
Returns the qname of this SOAPElement object.
NodegetFirstChild()
The first child of this node.
StringgetLocalName()
Returns the local part of the qualified name of this node.
IteratorgetNamespacePrefixes()
Returns an Iterator over the namespace prefix String s declared by this element.
StringgetNamespaceURI(String prefix)
Returns the URI of the namespace that has the given prefix.
StringgetNamespaceURI()
The namespace URI of this node, or null if it is unspecified (see ).
StringgetNodeName()
The name of this node, depending on its type; see the table above.
DocumentgetOwnerDocument()
The Document object associated with this node.
SOAPElementgetParentElement()
Returns the parent element of this Node object.
StringgetPrefix()
The namespace prefix of this node, or null if it is unspecified.
StringgetTextContent()
This attribute returns the text content of this node and its descendants.
StringgetValue()
Returns the value of this node if this is a Text node or the value of the immediate child of this node otherwise.
IteratorgetVisibleNamespacePrefixes()
Returns an Iterator over the namespace prefix String s visible to this element.
booleanhasAttribute(String name)
Returns true when an attribute with a given name is specified on this element or has a default value, false otherwise.
booleanhasAttributeNS(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.
booleanhasAttributes()
Returns whether this node (if it is an element) has any attributes.
booleanhasChildNodes()
Returns whether this node has any children.
StringlookupNamespaceURI(String prefix)
Look up the namespace URI associated to the given prefix, starting from this node.
StringlookupPrefix(String namespaceURI)
Look up the prefix associated to the given namespace URI, starting from this node.
booleanremoveAttribute(Name name)
Removes the attribute with the specified name.
booleanremoveAttribute(QName qname)
Removes the attribute with the specified qname.
voidremoveContents()
Detaches all children of this SOAPElement .
booleanremoveNamespaceDeclaration(String prefix)
Removes the namespace declaration corresponding to the given prefix.
voidsetAttribute(String name, String value)
Adds a new attribute.
voidsetAttributeNS(String namespaceURI, String qualifiedName, String value)
Adds a new attribute.
SOAPElementsetElementQName(QName newName)
Changes the name of this Element to newName if possible.
voidsetEncodingStyle(String encodingStyle)
Sets the encoding style for this SOAPElement object to one specified.
voidsetPrefix(String prefix)
The namespace prefix of this node, or null if it is unspecified.
voidsetTextContent(String textContent)
This attribute returns the text content of this node and its descendants.
voidsetValue(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.