org.jboss.axis.message
Class SOAPHeaderAxisImpl

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.SOAPHeaderImpl (src) 
                  extended byorg.jboss.axis.message.SOAPHeaderAxisImpl
All Implemented Interfaces:
java.lang.Cloneable, org.w3c.dom.Element, Node (src) , org.w3c.dom.Node, SOAPElement (src) , SOAPHeader (src)

public class SOAPHeaderAxisImpl
extends SOAPHeaderImpl (src)

Holder for header elements.


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
SOAPHeaderAxisImpl(java.lang.String namespace, java.lang.String localPart, java.lang.String prefix, org.xml.sax.Attributes attributes, DeserializationContext (src)  context, SOAPConstants (src)  soapConsts)
           
 
Method Summary
 SOAPElement (src) addChildElement(Name (src)  name)
          Creates a new SOAPElement object initialized with the given Name object and adds the new element to this SOAPElement object.
 SOAPElement (src) addChildElement(SOAPElement (src)  element)
          we have to override this to enforce that SOAPHeader immediate children are exclusively of type SOAPHeaderElement (otherwise we'll get mysterious ClassCastExceptions down the road...
 SOAPElement (src) addChildElement(java.lang.String localName)
          Creates a new SOAPElement object initialized with the specified local name and adds the new element to this SOAPElement object.
 SOAPElement (src) addChildElement(java.lang.String localName, java.lang.String prefix)
          Creates a new SOAPElement object initialized with the specified local name and prefix and adds the new element to this SOAPElement object.
 SOAPElement (src) addChildElement(java.lang.String localName, java.lang.String prefix, java.lang.String uri)
          Creates a new SOAPElement object initialized with the specified local name, prefix, and URI and adds the new element to this SOAPElement object.
 SOAPHeaderElement (src) addHeaderElement(Name (src)  name)
           
 java.util.Iterator examineAllHeaderElements()
           
 java.util.Iterator examineHeaderElements(java.lang.String actor)
           
 java.util.Iterator examineMustUnderstandHeaderElements(java.lang.String actor)
           
 java.util.Iterator extractAllHeaderElements()
           
 java.util.Iterator extractHeaderElements(java.lang.String actor)
           
protected  void outputImpl(SerializationContext (src)  context)
          Subclasses can override
 void setParentElement(SOAPElement (src)  parent)
          Sets the parent of this Node object to the given SOAPElement object.
 
Methods inherited from class org.jboss.axis.message.SOAPElementAxisImpl (src)
addAttribute, addAttribute, addAttribute, addAttribute, addChild, 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, 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, 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
 

Constructor Detail

SOAPHeaderAxisImpl

public SOAPHeaderAxisImpl(java.lang.String namespace,
                          java.lang.String localPart,
                          java.lang.String prefix,
                          org.xml.sax.Attributes attributes,
                          DeserializationContext (src)  context,
                          SOAPConstants (src)  soapConsts)
                   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)

addHeaderElement

public SOAPHeaderElement (src)  addHeaderElement(Name (src)  name)
                                   throws SOAPException (src) 
Specified by:
addHeaderElement in interface SOAPHeader (src)
Overrides:
addHeaderElement in class SOAPHeaderImpl (src)
Throws:
SOAPException (src)

examineHeaderElements

public java.util.Iterator examineHeaderElements(java.lang.String actor)
Specified by:
examineHeaderElements in interface SOAPHeader (src)
Overrides:
examineHeaderElements in class SOAPHeaderImpl (src)

extractHeaderElements

public java.util.Iterator extractHeaderElements(java.lang.String actor)
Specified by:
extractHeaderElements in interface SOAPHeader (src)
Overrides:
extractHeaderElements in class SOAPHeaderImpl (src)

examineMustUnderstandHeaderElements

public java.util.Iterator examineMustUnderstandHeaderElements(java.lang.String actor)
Specified by:
examineMustUnderstandHeaderElements in interface SOAPHeader (src)
Overrides:
examineMustUnderstandHeaderElements in class SOAPHeaderImpl (src)

examineAllHeaderElements

public java.util.Iterator examineAllHeaderElements()
Specified by:
examineAllHeaderElements in interface SOAPHeader (src)
Overrides:
examineAllHeaderElements in class SOAPHeaderImpl (src)

extractAllHeaderElements

public java.util.Iterator extractAllHeaderElements()
Specified by:
extractAllHeaderElements in interface SOAPHeader (src)
Overrides:
extractAllHeaderElements in class SOAPHeaderImpl (src)

outputImpl

protected void outputImpl(SerializationContext (src)  context)
                   throws java.lang.Exception
Description copied from class: SOAPElementAxisImpl (src)
Subclasses can override

Overrides:
outputImpl in class SOAPElementAxisImpl (src)
Throws:
java.lang.Exception

addChildElement

public SOAPElement (src)  addChildElement(SOAPElement (src)  element)
                            throws SOAPException (src) 
we have to override this to enforce that SOAPHeader immediate children are exclusively of type SOAPHeaderElement (otherwise we'll get mysterious ClassCastExceptions down the road... )

Specified by:
addChildElement in interface SOAPElement (src)
Overrides:
addChildElement in class SOAPElementAxisImpl (src)
Parameters:
element - child element
Returns:
soap element
Throws:
SOAPException (src)

addChildElement

public SOAPElement (src)  addChildElement(Name (src)  name)
                            throws SOAPException (src) 
Description copied from interface: SOAPElement (src)
Creates a new SOAPElement object initialized with the given Name object and adds the new element to this SOAPElement object.

Specified by:
addChildElement in interface SOAPElement (src)
Overrides:
addChildElement in class SOAPElementAxisImpl (src)
Throws:
SOAPException (src)

addChildElement

public SOAPElement (src)  addChildElement(java.lang.String localName)
                            throws SOAPException (src) 
Description copied from interface: SOAPElement (src)
Creates a new SOAPElement object initialized with the specified local name and adds the new element to this SOAPElement object.

Specified by:
addChildElement in interface SOAPElement (src)
Overrides:
addChildElement in class SOAPElementAxisImpl (src)
Throws:
SOAPException (src)

addChildElement

public SOAPElement (src)  addChildElement(java.lang.String localName,
                                   java.lang.String prefix)
                            throws SOAPException (src) 
Description copied from interface: SOAPElement (src)
Creates a new SOAPElement object initialized with the specified local name and prefix and adds the new element to this SOAPElement object.

Specified by:
addChildElement in interface SOAPElement (src)
Overrides:
addChildElement in class SOAPElementAxisImpl (src)
Throws:
SOAPException (src)

addChildElement

public SOAPElement (src)  addChildElement(java.lang.String localName,
                                   java.lang.String prefix,
                                   java.lang.String uri)
                            throws SOAPException (src) 
Description copied from interface: SOAPElement (src)
Creates a new SOAPElement object initialized with the specified local name, prefix, and URI and adds the new element to this SOAPElement object.

Specified by:
addChildElement in interface SOAPElement (src)
Overrides:
addChildElement in class SOAPElementAxisImpl (src)
Throws:
SOAPException (src)