SOAPHeader object can
be represented only as SOAPHeaderElement objects.
A SOAPHeaderElement object can have other
SOAPElement objects as its children.
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: aString giving the URI of the actorReturns the uri of the actor attribute of this
|
| public boolean | Returns: true if the mustUnderstand attribute of this
SOAPHeaderElement object is turned on; false
otherwiseReturns the boolean value of the mustUnderstand attribute for this
|
| public boolean | Returns: true if the relay attribute is turned on;
false otherwiseReturns the boolean value of the relay attribute for this
|
| public String | Returns: aString giving the URI of the RoleReturns the value of the Role attribute of this
|
| public void | |
| public void | setMustUnderstand(boolean
true to set the mustUnderstand
attribute to true; false to set it to falseSets the mustUnderstand attribute for this |
| public void | setRelay(boolean
the new value of the relay attribute relay)Sets the relay attribute for this |
| public void |
| getActor | back to summary |
|---|---|
| public String getActor() Returns the uri of the actor attribute of this
If this | |
| getMustUnderstand | back to summary |
|---|---|
| public boolean getMustUnderstand() Returns the boolean value of the mustUnderstand attribute for this
| |
| getRelay | back to summary |
|---|---|
| public boolean getRelay() Returns the boolean value of the relay attribute for this
| |
| getRole | back to summary |
|---|---|
| public String getRole() Returns the value of the Role attribute of this
| |
| setActor | back to summary |
|---|---|
| public void setActor(String actorURI) Sets the actor associated with this
If this
| |
| setMustUnderstand | back to summary |
|---|---|
| public void setMustUnderstand(boolean mustUnderstand) Sets the mustUnderstand attribute for this
If the mustUnderstand attribute is on, the actor who receives the
| |
| setRelay | back to summary |
|---|---|
| public void setRelay(boolean relay) throws SOAPException Sets the relay attribute for this
The SOAP relay attribute is set to true to indicate that the SOAP header
block must be relayed by any node that is targeted by the header block
but not actually process it. This attribute is ignored on header blocks
whose mustUnderstand attribute is set to true or that are targeted at
the ultimate reciever (which is the default). The default value of this
attribute is
| |
| setRole | back to summary |
|---|---|
| public void setRole(String uri) throws SOAPException Sets the
| |