org.jboss.axis.message
Class SOAPHeaderElementAxisImpl

java.lang.Object
  extended byorg.jboss.axis.message.NodeImpl (src) 
      extended byorg.jboss.axis.message.SOAPElementImpl (src) 
          extended byorg.jboss.axis.message.SOAPElementAxisImpl (src) 
              extended byorg.jboss.axis.message.SOAPHeaderElementImpl (src) 
                  extended byorg.jboss.axis.message.SOAPHeaderElementAxisImpl
All Implemented Interfaces:
java.lang.Cloneable, org.w3c.dom.Element, Node (src) , org.w3c.dom.Node, SOAPElement (src) , SOAPHeaderElement (src)
Direct Known Subclasses:
RPCHeaderParam (src)

public class SOAPHeaderElementAxisImpl
extends SOAPHeaderElementImpl (src)

A simple header element abstraction. Extends MessageElement with header-specific stuff like mustUnderstand, actor, and a 'processed' flag.


Nested Class Summary
 
Nested classes inherited from class org.jboss.axis.message.SOAPElementAxisImpl (src)
SOAPElementAxisImpl.QNameAttr (src)
 
Field Summary
protected  boolean processed
           
 
Fields inherited from class org.jboss.axis.message.SOAPElementAxisImpl (src)
_isRoot, attributes, context, elementRep, encodingStyle, endEventIndex, href, id, message, name, namespaces, namespaceURI, objectValue, prefix, qNameAttrs, recorder, soapPart, startContentsIndex, startEventIndex, typeQName
 
Fields inherited from class org.jboss.axis.message.NodeImpl (src)
domNode, soapParent
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
SOAPHeaderElementAxisImpl(org.w3c.dom.Element elem)
           
SOAPHeaderElementAxisImpl(Name (src)  name)
           
SOAPHeaderElementAxisImpl(java.lang.String namespace, java.lang.String localPart)
           
SOAPHeaderElementAxisImpl(java.lang.String namespace, java.lang.String localPart, java.lang.Object value)
           
SOAPHeaderElementAxisImpl(java.lang.String namespace, java.lang.String localPart, java.lang.String prefix, org.xml.sax.Attributes attributes, DeserializationContext (src)  context)
           
 
Method Summary
 java.lang.String getActor()
          Returns the uri of the actor associated with this SOAPHeaderElement object.
 boolean getMustUnderstand()
          Check for env:mustUnderstand
 java.lang.String getRole()
           
 boolean isProcessed()
           
 void setActor(java.lang.String actor)
          Sets the actor associated with this SOAPHeaderElement object to the specified actor.
 void setMustUnderstand(boolean mustUnderstand)
          Sets the mustUnderstand attribute for this SOAPHeaderElement object to be on or off.
 void setParentElement(SOAPElement (src)  parent)
          Sets the parent of this Node object to the given SOAPElement object.
 void setProcessed(boolean value)
           
 void setRole(java.lang.String role)
           
 
Methods inherited from class org.jboss.axis.message.SOAPElementAxisImpl (src)
addAttribute, addAttribute, addAttribute, addAttribute, addChild, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addMapping, addNamespaceDeclaration, addTextNode, appendChild, cloneNode, clonning, detachAllChildren, detachNode, getAllAttributes, getAsDocument, getAsDOM, getAsString, getAsStringFromInternal, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getAttributesEx, getAttributeValue, getAttributeValue, getChildElements, getChildElements, getChildNodes, getChildren, getCompleteAttributes, getElementName, getElementsByTagName, getElementsByTagNameNS, getElementsNS, getEncodingStyle, getEnvelope, getFirstChild, getFixupDeserializer, getHref, getID, getLastChild, getLocalName, getName, getNamespacePrefixes, getNamespaceURI, getNamespaceURI, getNextSibling, getNodeType, getNodeValue, getObjectValue, getObjectValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPrefix, getPreviousSibling, getQName, getRealElement, getRecorder, getTagName, getType, getValueAsType, getValueAsType, getVisibleNamespacePrefixes, hasAttribute, hasAttributeNS, hasAttributes, hasChildNodes, insertBefore, isDirty, isImmutable, isRoot, isSupported, makeAttributesEditable, normalize, output, outputImpl, printFromInternal, publishContents, publishToHandler, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, removeContents, removeNamespaceDeclaration, replaceChild, setAllAttributes, setAllImmutable, setAttribute, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setContentsIndex, setDirty, setEncodingStyle, setEndIndex, setEnvelope, setFixupDeserializer, setImmutable, setName, setNamespaceURI, setNSMappings, setObjectValue, setOwnerDocument, setPrefix, setQName, setRecorder, setType
 
Methods inherited from class org.jboss.axis.message.SOAPElementImpl (src)
getSchemaTypeInfo, setIdAttribute, setIdAttributeNode, setIdAttributeNS
 
Methods inherited from class org.jboss.axis.message.NodeImpl (src)
compareDocumentPosition, getBaseURI, getFeature, getNodeName, getTextContent, getUserData, getValue, hashCode, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, recycleNode, setNodeValue, setTextContent, setUserData, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.xml.soap.SOAPElement (src)
addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addTextNode, getAllAttributes, getAttributeValue, getChildElements, getChildElements, getElementName, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getVisibleNamespacePrefixes, removeAttribute, removeContents, removeNamespaceDeclaration, setEncodingStyle
 
Methods inherited from interface javax.xml.soap.Node (src)
detachNode, getParentElement, getValue, recycleNode, setValue
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS
 

Field Detail

processed

protected boolean processed
Constructor Detail

SOAPHeaderElementAxisImpl

public SOAPHeaderElementAxisImpl(java.lang.String namespace,
                                 java.lang.String localPart)

SOAPHeaderElementAxisImpl

public SOAPHeaderElementAxisImpl(Name (src)  name)

SOAPHeaderElementAxisImpl

public SOAPHeaderElementAxisImpl(java.lang.String namespace,
                                 java.lang.String localPart,
                                 java.lang.Object value)

SOAPHeaderElementAxisImpl

public SOAPHeaderElementAxisImpl(org.w3c.dom.Element elem)

SOAPHeaderElementAxisImpl

public SOAPHeaderElementAxisImpl(java.lang.String namespace,
                                 java.lang.String localPart,
                                 java.lang.String prefix,
                                 org.xml.sax.Attributes attributes,
                                 DeserializationContext (src)  context)
                          throws AxisFault (src) 
Method Detail

setParentElement

public void setParentElement(SOAPElement (src)  parent)
                      throws SOAPException (src) 
Description copied from interface: Node (src)
Sets the parent of this Node object to the given SOAPElement object.

Specified by:
setParentElement in interface Node (src)
Overrides:
setParentElement in class SOAPElementAxisImpl (src)
Throws:
SOAPException (src)

getMustUnderstand

public boolean getMustUnderstand()
Check for env:mustUnderstand

Specified by:
getMustUnderstand in interface SOAPHeaderElement (src)
Overrides:
getMustUnderstand in class SOAPHeaderElementImpl (src)

setMustUnderstand

public void setMustUnderstand(boolean mustUnderstand)
Description copied from interface: SOAPHeaderElement (src)
Sets the mustUnderstand attribute for this SOAPHeaderElement object to be on or off. If the mustUnderstand attribute is on, the actor who receives the SOAPHeaderElement must process it correctly. This ensures, for example, that if the SOAPHeaderElement object modifies the message, that the message is being modified correctly.

Specified by:
setMustUnderstand in interface SOAPHeaderElement (src)
Overrides:
setMustUnderstand in class SOAPHeaderElementImpl (src)

getActor

public java.lang.String getActor()
Description copied from interface: SOAPHeaderElement (src)
Returns the uri of the actor associated with this SOAPHeaderElement object.

Specified by:
getActor in interface SOAPHeaderElement (src)
Overrides:
getActor in class SOAPHeaderElementImpl (src)

setActor

public void setActor(java.lang.String actor)
Description copied from interface: SOAPHeaderElement (src)
Sets the actor associated with this SOAPHeaderElement object to the specified actor. The default value of an actor is: SOAPConstants.URI_SOAP_ACTOR_NEXT

Specified by:
setActor in interface SOAPHeaderElement (src)
Overrides:
setActor in class SOAPHeaderElementImpl (src)

getRole

public java.lang.String getRole()

setRole

public void setRole(java.lang.String role)

setProcessed

public void setProcessed(boolean value)

isProcessed

public boolean isProcessed()