|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SOAPHeader
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. |
java.util.Iterator |
getHeadersToProcess(RolePlayer rolePlayer)
Get the appropriate set of headers for a RolePlayer. |
java.util.Iterator |
getHeadersToProcess(RolePlayer rolePlayer,
java.lang.String namespace)
Get the appropriate set of headers for a RolePlayer in a particular namespace The RolePlayer indicates whether it is the ultimate destination (in which case headers with no role or the explicit UltimateDestination role will be included), and any non-standard roles it supports. |
Methods inherited from interface org.apache.axiom.om.OMNode |
---|
build, buildWithAttachments, close, 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, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getFirstChildWithName, getFirstOMChild, isComplete |
Method Detail |
---|
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 occursjava.util.Iterator getHeadersToProcess(RolePlayer rolePlayer)
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)
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)
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.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.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
java.util.ArrayList getHeaderBlocksWithNSURI(java.lang.String nsURI)
nsURI
-
java.util.Iterator getHeadersToProcess(RolePlayer rolePlayer, java.lang.String namespace)
rolePlayer
- a RolePlayer containing our role configurationnamespace
- if specified, we'll only return headers from this namespace
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |