ExtensionElementImpl¶
-
class
ExtensionElementImpl
implements ExtensionElement¶ An implementation of
ExtensionElement
.Author: cyng
Fields¶
soapEnvelope¶
-
protected final SOAPEnvelope
soapEnvelope
¶ The
javax.xml.soap.SOAPEnvelope
encapsulating thisExtensionElement
Constructors¶
ExtensionElementImpl¶
-
ExtensionElementImpl
(SOAPEnvelope soapEnvelope, SOAPElement soapElement)¶ Construct an
ExtensionElement
using the givenSOAPEnvelope
andSOAPElement
ExtensionElementImpl¶
-
ExtensionElementImpl
(SOAPEnvelope soapEnvelope, String localName, boolean isHeaderElement)¶ Construct an
ExtensionElement
using the givenSOAPEnvelope
and whose namespace and URI are equal to that of SOAP extension element as defined in ebXML Messaging Service Specification
ExtensionElementImpl¶
-
ExtensionElementImpl
(SOAPEnvelope soapEnvelope, String localName, String prefix, String uri, boolean isHeaderElement, boolean createSOAPElement)¶ Construct an
ExtensionElement
using the givenSOAPEnvelope
and the specified namespace and URI. Change the default namespace and URI of thisExtensionElement
to the new one so that subsequent added children elements will inherit the new namespace and URI.
Methods¶
addAttribute¶
-
public ExtensionElement
addAttribute
(String localName, String value)¶ Add an attribute whose namespace is the same as this
ExtensionElement
addAttribute¶
addAttribute¶
addChildElement¶
-
public ExtensionElement
addChildElement
(String localName)¶ Add a child element without text node value and whose namespace is the same as this
ExtensionElement
, i.e., the parent
addChildElement¶
-
public ExtensionElement
addChildElement
(String localName, String value)¶ Add a child element with the specified value and whose namespace is the same as this
ExtensionElement
, i.e., the parent
addChildElement¶
-
public ExtensionElement
addChildElement
(String localName, String prefix, String uri)¶ Add a child element without text node value and with the specified namespace
addChildElement¶
-
public ExtensionElement
addChildElement
(String localName, String prefix, String uri, String value)¶ Add a child element with the specified value and namespace. Change the default namespace and URI of this
ExtensionElement
to the new one so that subsequent added children elements will inherit the new namespace and URI.
getAllAttributes¶
getAttributeValue¶
getAttributeValue¶
getAttributeValue¶
getChildElements¶
-
public Iterator
getChildElements
(String localName)¶ Get all descendant child elements of the specified
localName
whose namespace is the same as thisExtensionElement
, in the order in which they are encountered in a preorder traversal of thisExtensionElement
tree. EachIterator
entry is in the form of anjavax.xml.soap.SOAPElement
.
getChildElements¶
getChildElements¶
getSOAPElement¶
-
public SOAPElement
getSOAPElement
()¶ Return the
javax.xml.soap.SOAPElement
representation of thisElement