public interface SoapElement
SoapMessage| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(QName name,
String value)
Adds an attribute with the specified qualified name and value to this element.
|
void |
addNamespaceDeclaration(String prefix,
String namespaceUri)
Adds a namespace declaration with the specified prefix and URI to this element.
|
Iterator<QName> |
getAllAttributes()
Returns an
Iterator over all of the attributes in element as qualified names. |
String |
getAttributeValue(QName name)
Returns the value of the attribute with the specified qualified name.
|
QName |
getName()
Returns the qualified name of this element.
|
Source |
getSource()
Returns the
Source of this element. |
void |
removeAttribute(QName name)
Removes the attribute with the specified name.
|
QName getName()
Source getSource()
Source of this element. This includes the element itself, i.e.
SoapEnvelope.getSource() will include the Envelope tag.Source of this elementvoid addAttribute(QName name, String value)
name - the qualified name of the attributevalue - the value of the attributevoid removeAttribute(QName name)
name - the qualified name of the attribute to removeString getAttributeValue(QName name)
name - the qualified namenull if there is no such attributeIterator<QName> getAllAttributes()
Iterator over all of the attributes in element as qualified names.void addNamespaceDeclaration(String prefix, String namespaceUri)
prefix - the namespace prefix. Can be empty or null to declare the default namespacenamespaceUri - the namespace uriSoapElementException - in case of errors