|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SoapElement
The base interface for all elements that are contained in a SOAP message.
SoapMessage
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 name
null
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 uri
SoapElementException
- in case of errors
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |