| org.springframework.ws.soap.SoapHeaderElement
All known Subclasses: org.springframework.ws.soap.saaj.SaajSoapHeaderElement, org.springframework.ws.soap.axiom.AxiomSoapHeaderElement,
SoapHeaderElement | public interface SoapHeaderElement extends SoapElement(Code) | | Represents the contents of an individual SOAP header in the a SOAP message. All SoapHeaderElement s are
contained in a SoapHeader .
author: Arjen Poutsma See Also: SoapHeader since: 1.0.0 |
Method Summary | |
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. |
getActorOrRole | String getActorOrRole() throws SoapHeaderException(Code) | | Returns the actor or role for this header element. In a SOAP 1.1 compliant message, this will read the
actor attribute; in SOAP 1.2, the role attribute.
the role of the header |
getMustUnderstand | boolean getMustUnderstand() throws SoapHeaderException(Code) | | Indicates whether the mustUnderstand attribute for this header element is set.
true if the mustUnderstand attribute is set; false otherwise |
getText | String getText()(Code) | | Returns the text content of this header element, if any.
the text content of this header element |
setActorOrRole | void setActorOrRole(String actorOrRole) throws SoapHeaderException(Code) | | Sets the actor or role for this header element. In a SOAP 1.1 compliant message, this will result in an
actor attribute being set; in SOAP 1.2, a actorOrRole attribute.
Parameters: actorOrRole - the actorOrRole value |
setMustUnderstand | void setMustUnderstand(boolean mustUnderstand) throws SoapHeaderException(Code) | | Sets the mustUnderstand attribute for this header element. If the attribute is on, the role who
receives the header must process it.
Parameters: mustUnderstand - true to set the mustUnderstand attribute on; false to turn it off |
setText | void setText(String content)(Code) | | Sets the text content of this header element.
Parameters: content - the new text content of this header element |
|
|