org.apache.axis2.soap.impl.llom
Class SOAPHeaderBlockImpl

java.lang.Object
  extended byorg.apache.axis2.om.impl.llom.OMNodeImpl
      extended byorg.apache.axis2.om.impl.llom.OMElementImpl
          extended byorg.apache.axis2.soap.impl.llom.SOAPHeaderBlockImpl
All Implemented Interfaces:
OMConstants, OMContainer, OMContainerEx, OMElement, OMNode, OMNodeEx, SOAPHeaderBlock
Direct Known Subclasses:
SOAP11HeaderBlockImpl, SOAP12HeaderBlockImpl

public abstract class SOAPHeaderBlockImpl
extends OMElementImpl
implements SOAPHeaderBlock

Class SOAPHeaderBlockImpl


Field Summary
 
Fields inherited from class org.apache.axis2.om.impl.llom.OMElementImpl
attributes, firstChild, localName, namespaces, noPrefixNamespaceCounter, ns
 
Fields inherited from class org.apache.axis2.om.impl.llom.OMNodeImpl
builder, done, nextSibling, nodeType, parent, previousSibling
 
Fields inherited from interface org.apache.axis2.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.apache.axis2.om.OMConstants
ARRAY_ITEM_LOCALNAME, ARRAY_ITEM_NS_PREFIX, ARRAY_ITEM_NSURI, ARRAY_ITEM_QNAME, DEFAULT_CHAR_SET_ENCODING, DEFAULT_XML_VERSION, PULL_TYPE_BUILDER, PUSH_TYPE_BUILDER
 
Constructor Summary
SOAPHeaderBlockImpl(java.lang.String localName, OMNamespace ns, OMElement parent, OMXMLParserWrapper builder)
          Constructor SOAPHeaderBlockImpl
SOAPHeaderBlockImpl(java.lang.String localName, OMNamespace ns, SOAPHeader parent)
           
 
Method Summary
protected  java.lang.String getAttribute(java.lang.String attrName, java.lang.String soapEnvelopeNamespaceURI)
          Method getAttribute
 boolean isProcessed()
           
protected  void setAttribute(java.lang.String attributeName, java.lang.String attrValue, java.lang.String soapEnvelopeNamespaceURI)
           
 void setProcessed()
          We need to know whether all the mustUnderstand headers have been processed by the node.
 
Methods inherited from class org.apache.axis2.om.impl.llom.OMElementImpl
addAttribute, addAttribute, addChild, buildNext, declareNamespace, declareNamespace, detach, discard, findNamespace, getAllDeclaredNamespaces, getAttribute, getAttributes, getBuilder, getChildElements, getChildren, getChildrenWithName, getFirstAttribute, getFirstChild, getFirstChildWithName, getFirstElement, getLocalName, getNamespace, getNextSibling, getQName, getText, getTrimmedText, getType, getXMLStreamReader, getXMLStreamReaderWithoutCaching, isComplete, removeAttribute, serialize, serialize, serializeWithCache, setBuilder, setFirstChild, setLocalName, setNamespace, setText
 
Methods inherited from class org.apache.axis2.om.impl.llom.OMNodeImpl
build, getParent, getPreviousSibling, insertSiblingAfter, insertSiblingBefore, serialize, serializeWithCache, setComplete, setNextSibling, setParent, setPreviousSibling, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.axis2.soap.SOAPHeaderBlock
getMustUnderstand, getRole, setMustUnderstand, setMustUnderstand, setRole
 
Methods inherited from interface org.apache.axis2.om.OMElement
addAttribute, addAttribute, addChild, declareNamespace, declareNamespace, findNamespace, getAllDeclaredNamespaces, getAttribute, getAttributes, getBuilder, getChildElements, getChildren, getChildrenWithName, getFirstAttribute, getFirstChild, getFirstChildWithName, getFirstElement, getLocalName, getNamespace, getQName, getText, getXMLStreamReader, getXMLStreamReaderWithoutCaching, removeAttribute, setBuilder, setFirstChild, setLocalName, setNamespace, setText
 
Methods inherited from interface org.apache.axis2.om.OMNode
build, detach, discard, getNextSibling, getParent, getPreviousSibling, getType, insertSiblingAfter, insertSiblingBefore, isComplete, serialize, serializeWithCache
 
Methods inherited from interface org.apache.axis2.om.OMContainer
buildNext, isComplete
 
Methods inherited from interface org.apache.axis2.om.impl.OMContainerEx
setComplete
 

Constructor Detail

SOAPHeaderBlockImpl

public SOAPHeaderBlockImpl(java.lang.String localName,
                           OMNamespace ns,
                           SOAPHeader parent)
                    throws SOAPProcessingException
Parameters:
localName -
ns -

SOAPHeaderBlockImpl

public SOAPHeaderBlockImpl(java.lang.String localName,
                           OMNamespace ns,
                           OMElement parent,
                           OMXMLParserWrapper builder)
Constructor SOAPHeaderBlockImpl

Parameters:
localName -
ns -
parent -
builder -
Method Detail

setAttribute

protected void setAttribute(java.lang.String attributeName,
                            java.lang.String attrValue,
                            java.lang.String soapEnvelopeNamespaceURI)
Parameters:
attributeName -
attrValue -

getAttribute

protected java.lang.String getAttribute(java.lang.String attrName,
                                        java.lang.String soapEnvelopeNamespaceURI)
Method getAttribute

Parameters:
attrName -
Returns:

isProcessed

public boolean isProcessed()
Specified by:
isProcessed in interface SOAPHeaderBlock

setProcessed

public void setProcessed()
Description copied from interface: SOAPHeaderBlock
We need to know whether all the mustUnderstand headers have been processed by the node. This will done by a specific validation handler at the end of the execution chain. For this all the handlers who process a particular header block must explicitly say that he processesd the header by calling setProcessed()

Specified by:
setProcessed in interface SOAPHeaderBlock