|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axiom.om.impl.dom.NodeImpl
org.apache.axiom.om.impl.dom.ChildNode
org.apache.axiom.om.impl.dom.ParentNode
org.apache.axiom.om.impl.dom.ElementImpl
org.apache.axiom.soap.impl.dom.SOAPElement
org.apache.axiom.soap.impl.dom.SOAPHeaderImpl
public abstract class SOAPHeaderImpl
| Field Summary |
|---|
| Fields inherited from class org.apache.axiom.om.impl.dom.ElementImpl |
|---|
localName, namespace |
| Fields inherited from class org.apache.axiom.om.impl.dom.ParentNode |
|---|
firstChild, lastChild |
| Fields inherited from class org.apache.axiom.om.impl.dom.ChildNode |
|---|
nextSibling, parentNode, previousSibling |
| Fields inherited from class org.apache.axiom.om.impl.dom.NodeImpl |
|---|
builder, done, factory, FIRSTCHILD, flags, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED |
| 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 |
| Fields inherited from interface org.w3c.dom.Node |
|---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Constructor Summary | |
|---|---|
SOAPHeaderImpl(SOAPEnvelope envelope,
OMXMLParserWrapper builder,
SOAPFactory factory)
Constructor SOAPHeaderImpl |
|
SOAPHeaderImpl(SOAPEnvelope envelope,
SOAPFactory factory)
|
|
| Method Summary | |
|---|---|
abstract 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. |
protected void |
checkParent(OMElement parent)
This has to be implemented by all the derived classes to check for the correct parent. |
java.util.Iterator |
examineAllHeaderBlocks()
Returns an Iterator over all the SOAPHeaderBlock objects in this
SOAPHeader object. |
java.util.Iterator |
examineHeaderBlocks(java.lang.String paramRole)
Returns a list of all the SOAPHeaderBlock objects in this
SOAPHeader object that have the the specified actor. |
java.util.Iterator |
examineMustUnderstandHeaderBlocks(java.lang.String actor)
Returns an Iterator over all the SOAPHeaderBlock objects in this
SOAPHeader object that have the specified actor 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. |
abstract 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)
|
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)
|
| Methods inherited from class org.apache.axiom.om.impl.dom.ParentNode |
|---|
addChild, buildNext, getChildNodes, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getFirstChild, getFirstChildWithName, getFirstOMChild, getFirstOMChildIfAvailable, getLastChild, getTextContent, hasChildNodes, importNode, insertBefore, removeChild, replaceChild, setFirstChild, setLastChild, setTextContent |
| Methods inherited from class org.apache.axiom.om.impl.dom.ChildNode |
|---|
detach, getNextOMSiblingIfAvailable, getNextSibling, getParent, getParentNode, getPreviousOMSibling, getPreviousSibling, insertSiblingAfter, insertSiblingBefore, setNextOMSibling, setParent, setPreviousOMSibling |
| Methods inherited from class org.apache.axiom.om.impl.dom.NodeImpl |
|---|
appendChild, build, close, compareDocumentPosition, getBaseURI, getFeature, getLength, getNodeValue, getOMFactory, getOwnerDocument, getUserData, internalSerialize, internalSerializeAndConsume, isComplete, isDefaultNamespace, isEqualNode, isSameNode, isSupported, item, lookupNamespaceURI, lookupPrefix, normalize, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setComplete, setNodeValue, setPrefix, setUserData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.axiom.om.OMNode |
|---|
buildWithAttachments, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore |
| Methods inherited from interface org.apache.axiom.om.OMSerializable |
|---|
build, close, getOMFactory, isComplete, serialize, serialize, serializeAndConsume |
| Methods inherited from interface org.apache.axiom.om.OMContainer |
|---|
addChild, buildNext, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getFirstChildWithName, getFirstOMChild |
| Methods inherited from interface org.apache.axiom.om.OMSerializable |
|---|
build, close, getOMFactory, isComplete, serialize, serialize, serializeAndConsume |
| Methods inherited from interface org.w3c.dom.Node |
|---|
appendChild, compareDocumentPosition, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
| Methods inherited from interface org.apache.axiom.om.impl.OMContainerEx |
|---|
setComplete |
| Constructor Detail |
|---|
public SOAPHeaderImpl(SOAPEnvelope envelope,
SOAPFactory factory)
throws SOAPProcessingException
envelope -
SOAPProcessingException
public SOAPHeaderImpl(SOAPEnvelope envelope,
OMXMLParserWrapper builder,
SOAPFactory factory)
envelope - builder - | Method Detail |
|---|
public abstract SOAPHeaderBlock addHeaderBlock(java.lang.String localName,
OMNamespace ns)
throws OMException
SOAPHeaderBlock object initialized with the specified name and
adds it to this SOAPHeader object.
addHeaderBlock in interface SOAPHeaderlocalName - ns -
SOAPHeaderBlock object that was inserted into this
SOAPHeader object
OMException - if a SOAP error occurspublic java.util.Iterator getHeadersToProcess(RolePlayer rolePlayer)
getHeadersToProcess in interface SOAPHeader
public java.util.Iterator getHeadersToProcess(RolePlayer rolePlayer,
java.lang.String namespace)
getHeadersToProcess in interface SOAPHeaderpublic java.util.Iterator examineHeaderBlocks(java.lang.String paramRole)
SOAPHeaderBlock objects in this
SOAPHeader object that have the the specified actor. An actor is a global
attribute that indicates the intermediate parties to whom the message should be sent. An
actor receives the message and then sends it to the next actor. The default actor is the
ultimate intended recipient for the message, so if no actor attribute is included in a
SOAPHeader object, the message is sent to its ultimate destination.
examineHeaderBlocks in interface SOAPHeaderparamRole - a String giving the URI of the actor for which to search
Iterator object over all the SOAPHeaderBlock objects
that contain the specified actorextractHeaderBlocks(java.lang.String)public abstract 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.
extractHeaderBlocks in interface SOAPHeaderrole - 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 actor)
Iterator over all the SOAPHeaderBlock objects in this
SOAPHeader object that have the specified actor and that have a MustUnderstand
attribute whose value is equivalent to true.
examineMustUnderstandHeaderBlocks in interface SOAPHeaderactor - a String giving the URI of the actor for which to search
Iterator object over all the SOAPHeaderBlock objects
that contain the specified actor and are marked as MustUnderstandpublic java.util.Iterator examineAllHeaderBlocks()
Iterator over all the SOAPHeaderBlock objects in this
SOAPHeader object. Not that this will return elements containing the QName
(http://schemas.xmlsoap.org/soap/envelope/, Header)
examineAllHeaderBlocks in interface SOAPHeaderIterator object over all the SOAPHeaderBlock objects
contained by this SOAPHeaderpublic java.util.Iterator extractAllHeaderBlocks()
Iterator over all the SOAPHeaderBlock objects in this
SOAPHeader object and detaches them from this SOAPHeader object.
extractAllHeaderBlocks in interface SOAPHeaderIterator object over all the SOAPHeaderBlock objects
contained by this SOAPHeaderpublic java.util.ArrayList getHeaderBlocksWithNSURI(java.lang.String nsURI)
getHeaderBlocksWithNSURI in interface SOAPHeader
protected void checkParent(OMElement parent)
throws SOAPProcessingException
SOAPElement
checkParent in class SOAPElementSOAPProcessingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||