org.jboss.axis.message
Class SOAPHeaderElementImpl

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
All Implemented Interfaces:
java.lang.Cloneable, org.w3c.dom.Element, Node (src) , org.w3c.dom.Node, SOAPElement (src) , SOAPHeaderElement (src)
Direct Known Subclasses:
SOAPHeaderElementAxisImpl (src)

public class SOAPHeaderElementImpl
extends SOAPElementAxisImpl (src)
implements SOAPHeaderElement (src)

An implemenation of the abstract SOAPElement.

This class should not expose functionality that is not part of SOAPHeaderElement (src) . Client code should use SOAPHeaderElement.


Nested Class Summary
 
Nested classes inherited from class org.jboss.axis.message.SOAPElementAxisImpl (src)
SOAPElementAxisImpl.QNameAttr (src)
 
Field Summary
 
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
SOAPHeaderElementImpl(org.w3c.dom.Element elem)
           
SOAPHeaderElementImpl(Name (src)  name)
           
SOAPHeaderElementImpl(java.lang.String namespace, java.lang.String localPart)
           
SOAPHeaderElementImpl(java.lang.String namespace, java.lang.String localPart, java.lang.Object value)
           
SOAPHeaderElementImpl(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()
          Returns whether the mustUnderstand attribute for this SOAPHeaderElement object is turned on.
 void setActor(java.lang.String actorURI)
          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.
 
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, setParentElement, 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, setParentElement, 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
 

Constructor Detail

SOAPHeaderElementImpl

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

SOAPHeaderElementImpl

public SOAPHeaderElementImpl(Name (src)  name)

SOAPHeaderElementImpl

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

SOAPHeaderElementImpl

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

SOAPHeaderElementImpl

public SOAPHeaderElementImpl(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

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)
Returns:
a String giving the URI of the actor

getMustUnderstand

public boolean getMustUnderstand()
Description copied from interface: SOAPHeaderElement (src)
Returns whether the mustUnderstand attribute for this SOAPHeaderElement object is turned on.

Specified by:
getMustUnderstand in interface SOAPHeaderElement (src)
Returns:
true if the mustUnderstand attribute of this SOAPHeaderElement object is turned on; false otherwise

setActor

public void setActor(java.lang.String actorURI)
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)
Parameters:
actorURI - a String giving the URI of the actor to set

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)
Parameters:
mustUnderstand - true to set the mustUnderstand attribute on; false to turn if off