public interface SoapHeaderElement extends SoapElement
SoapHeaderElements are
contained in a SoapHeader.SoapHeader| Modifier and Type | Method and Description |
|---|---|
String |
getActorOrRole()
Returns the actor or role for this header element.
|
boolean |
getMustUnderstand()
Indicates whether the
mustUnderstand attribute for this header element is set. |
Result |
getResult()
Returns a
Result that allows for writing to the contents of the header element. |
String |
getText()
Returns the text content of this header element, if any.
|
void |
setActorOrRole(String actorOrRole)
Sets the actor or role for this header element.
|
void |
setMustUnderstand(boolean mustUnderstand)
Sets the
mustUnderstand attribute for this header element. |
void |
setText(String content)
Sets the text content of this header element.
|
addAttribute, addNamespaceDeclaration, getAllAttributes, getAttributeValue, getName, getSource, removeAttributeString getActorOrRole() throws SoapHeaderException
actor attribute; in SOAP 1.2, the role attribute.SoapHeaderExceptionvoid setActorOrRole(String actorOrRole) throws SoapHeaderException
actor attribute being set; in SOAP 1.2, a actorOrRole attribute.actorOrRole - the actorOrRole valueSoapHeaderExceptionboolean getMustUnderstand()
throws SoapHeaderException
mustUnderstand attribute for this header element is set.true if the mustUnderstand attribute is set; false otherwiseSoapHeaderExceptionvoid setMustUnderstand(boolean mustUnderstand)
throws SoapHeaderException
mustUnderstand attribute for this header element. If the attribute is on, the role who
receives the header must process it.mustUnderstand - true to set the mustUnderstand attribute on; false
to turn it offSoapHeaderExceptionResult getResult() throws SoapHeaderException
Result that allows for writing to the contents of the header element.SoapHeaderExceptionString getText()
void setText(String content)
content - the new text content of this header element