|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An object representing the contents in the SOAP header part of the SOAP envelope. The
immediate children of a SOAPHeader object can be represented only as
SOAPHeaderBlock objects.
B SOAPHeaderBlock object can have other
OMElement objects as its children.
| Field Summary |
| Fields inherited from interface org.apache.axiom.om.OMNode |
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE |
| Method Summary | |
boolean |
getMustUnderstand()
Returns whether the mustUnderstand attribute for this SOAPHeaderBlock object is
turned on. |
boolean |
getRelay()
Returns the relay status associated with this SOAPHeaderBlock object. |
java.lang.String |
getRole()
Returns the uri of the actor associated with this SOAPHeaderBlock object. |
SOAPVersion |
getVersion()
What SOAP version is this HeaderBlock? |
boolean |
isProcessed()
|
void |
setMustUnderstand(boolean mustUnderstand)
Sets the mustUnderstand attribute for this SOAPHeaderBlock object to be on or
off. |
void |
setMustUnderstand(java.lang.String mustUnderstand)
|
void |
setProcessed()
We need to know whether all the mustUnderstand headers have been processed by the node. |
void |
setRelay(boolean relay)
Sets the relay attribute for this SOAPHeaderBlock to be either true or false. |
void |
setRole(java.lang.String roleURI)
Sets the actor associated with this SOAPHeaderBlock object to the specified
actor. |
| Methods inherited from interface org.apache.axiom.om.OMNode |
build, buildWithAttachments, detach, discard, getNextOMSibling, getOMFactory, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore, isComplete, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume |
| Methods inherited from interface org.apache.axiom.om.OMContainer |
addChild, buildNext, getChildren, getChildrenWithName, getFirstChildWithName, getFirstOMChild, isComplete |
| Method Detail |
public void setRole(java.lang.String roleURI)
SOAPHeaderBlock object to the specified
actor.
roleURI - a String giving the URI of the actor to set
java.lang.IllegalArgumentException - if there is a problem in setting the actor.getRole()public java.lang.String getRole()
SOAPHeaderBlock object.
String giving the URI of the actorsetRole(java.lang.String)public void setMustUnderstand(boolean mustUnderstand)
SOAPHeaderBlock object to be on or
off. If the mustUnderstand attribute is on, the actor who receives the
SOAPHeaderBlock must process it correctly. This ensures, for example, that if
the SOAPHeaderBlock object modifies the message, that the message is being
modified correctly.
mustUnderstand - true to set the mustUnderstand attribute on;
false to turn if off
java.lang.IllegalArgumentException - if there is a problem in setting the actor.getMustUnderstand()
public void setMustUnderstand(java.lang.String mustUnderstand)
throws SOAPProcessingException
SOAPProcessingException
public boolean getMustUnderstand()
throws SOAPProcessingException
SOAPHeaderBlock object is
turned on.
true if the mustUnderstand attribute of this
SOAPHeaderBlock object is turned on; false otherwise
SOAPProcessingExceptionpublic boolean isProcessed()
public void setProcessed()
public void setRelay(boolean relay)
relay - a boolean giving the value to be setpublic boolean getRelay()
SOAPHeaderBlock object.
boolean giving the relay statuspublic SOAPVersion getVersion()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||