|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface SOAPHeader
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 | |
SOAPHeaderBlock |
addHeaderBlock(java.lang.String localName,
OMNamespace ns)
Creates a new SOAPHeaderBlock object initialized with the
specified name and adds it to this SOAPHeader object. |
java.util.Iterator |
examineAllHeaderBlocks()
Returns an Iterator over all the
SOAPHeaderBlock objects in this SOAPHeader
object. |
java.util.Iterator |
examineHeaderBlocks(java.lang.String role)
Returns a list of all the SOAPHeaderBlock objects in this
SOAPHeader object that have the the specified role. |
java.util.Iterator |
examineMustUnderstandHeaderBlocks(java.lang.String role)
Returns an Iterator over all the
SOAPHeaderBlock objects in this SOAPHeader
object that have the specified role and that have a MustUnderstand
attribute whose value is equivalent to true . |
java.util.Iterator |
extractAllHeaderBlocks()
Returns an Iterator over all the
SOAPHeaderBlock objects in this SOAPHeader
object and detaches them from this SOAPHeader object. |
java.util.Iterator |
extractHeaderBlocks(java.lang.String role)
Returns a list of all the SOAPHeaderBlock objects in this
SOAPHeader object that have the the specified role and
detaches them from this SOAPHeader object.
|
java.util.ArrayList |
getHeaderBlocksWithNSURI(java.lang.String nsURI)
Return all the Headers that has the Namespace URI to given NS URI. |
Methods inherited from interface org.apache.axiom.om.OMNode |
build, 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 SOAPHeaderBlock addHeaderBlock(java.lang.String localName, OMNamespace ns) throws OMException
SOAPHeaderBlock
object initialized with the
specified name and adds it to this SOAPHeader
object.
localName
- ns
-
SOAPHeaderBlock
object that was inserted
into this SOAPHeader
object
OMException
- if a SOAP error occurspublic java.util.Iterator examineHeaderBlocks(java.lang.String role)
SOAPHeaderBlock
objects in this
SOAPHeader
object that have the the specified role. An
role is a global attribute that indicates the intermediate parties to
whom the message should be sent. An role receives the message and then
sends it to the next role. The default role is the ultimate intended
recipient for the message, so if no role attribute is included in a
SOAPHeader
object, the message is sent to its ultimate
destination.
role
- a String
giving the URI of the role for which
to search
Iterator
object over all the
SOAPHeaderBlock
objects that contain the specified roleextractHeaderBlocks(java.lang.String)
public java.util.Iterator extractHeaderBlocks(java.lang.String role)
SOAPHeaderBlock
objects in this
SOAPHeader
object that have the the specified role and
detaches them from this SOAPHeader
object.
This method allows an role to process only the parts of the
SOAPHeader
object that apply to it and to remove them before
passing the message on to the next role.
role
- a String
giving the URI of the role for which
to search
Iterator
object over all the
SOAPHeaderBlock
objects that contain the specified roleexamineHeaderBlocks(java.lang.String)
public java.util.Iterator examineMustUnderstandHeaderBlocks(java.lang.String role)
Iterator
over all the
SOAPHeaderBlock
objects in this SOAPHeader
object that have the specified role and that have a MustUnderstand
attribute whose value is equivalent to true
.
role
- a String
giving the URI of the role for which
to search
Iterator
object over all the
SOAPHeaderBlock
objects that contain the specified
role and are marked as MustUnderstand.public java.util.Iterator examineAllHeaderBlocks()
Iterator
over all the
SOAPHeaderBlock
objects in this SOAPHeader
object.
Iterator
object over all the
SOAPHeaderBlock
objects contained by this
SOAPHeader
. If there are no header blocks then an
empty iterator is returned.public java.util.Iterator extractAllHeaderBlocks()
Iterator
over all the
SOAPHeaderBlock
objects in this SOAPHeader
object and detaches them from this SOAPHeader
object.
Iterator
object over all the
SOAPHeaderBlock
objects contained by this
SOAPHeader
public java.util.ArrayList getHeaderBlocksWithNSURI(java.lang.String nsURI)
nsURI
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |