站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 jaxrpc API Documentation 英文版文档

SOAPHeaderAxisImpl (JAXRPC API) - JBoss 3.2.7 jaxrpc API Documentation 英文版文档


org.apache.axis.message
Class SOAPHeaderAxisImpl

java.lang.Object
  extended byorg.apache.axis.message.NodeImpl
      extended byorg.apache.axis.message.SOAPElementImpl
          extended byorg.apache.axis.message.SOAPElementAxisImpl
              extended byorg.apache.axis.message.SOAPHeaderImpl
                  extended byorg.apache.axis.message.SOAPHeaderAxisImpl
All Implemented Interfaces:
Cloneable, Element, Node, javax.xml.soap.Node, Serializable, javax.xml.soap.SOAPElement, javax.xml.soap.SOAPHeader

public class SOAPHeaderAxisImpl
extends SOAPHeaderImpl

Holder for header elements.

Author:
Glyn Normington (glyn@apache.org)
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.apache.axis.message.SOAPElementAxisImpl
SOAPElementAxisImpl.QNameAttr
 
Field Summary
 
Fields inherited from class org.apache.axis.message.SOAPElementAxisImpl
_isRoot, attributes, context, elementRep, encodingStyle, endEventIndex, href, id, message, name, namespaces, namespaceURI, prefix, qNameAttrs, recorder, soapPart, startContentsIndex, startEventIndex, typeQName
 
Fields inherited from class org.apache.axis.message.NodeImpl
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(String namespace, String localPart, String prefix, Attributes attributes, DeserializationContext context, SOAPConstants soapConsts)
           
 
Method Summary
 javax.xml.soap.SOAPElement addChildElement(javax.xml.soap.Name name)
          Creates a new SOAPElement object initialized with the given Name object and adds the new element to this SOAPElement object.
 javax.xml.soap.SOAPElement addChildElement(javax.xml.soap.SOAPElement 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...
 javax.xml.soap.SOAPElement addChildElement(String localName)
          Creates a new SOAPElement object initialized with the specified local name and adds the new element to this SOAPElement object.
 javax.xml.soap.SOAPElement addChildElement(String localName, String prefix)
          Creates a new SOAPElement object initialized with the specified local name and prefix and adds the new element to this SOAPElement object.
 javax.xml.soap.SOAPElement addChildElement(String localName, String prefix, 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.
 javax.xml.soap.SOAPHeaderElement addHeaderElement(javax.xml.soap.Name name)
           
 Iterator examineAllHeaderElements()
           
 Iterator examineHeaderElements(String actor)
           
 Iterator examineMustUnderstandHeaderElements(String actor)
           
 Iterator extractAllHeaderElements()
           
 Iterator extractHeaderElements(String actor)
           
protected  void outputImpl(SerializationContext context)
          Subclasses can override
 void setParentElement(javax.xml.soap.SOAPElement parent)
          Sets the parent of this Node object to the given SOAPElement object.
 
Methods inherited from class org.apache.axis.message.SOAPElementAxisImpl
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.apache.axis.message.NodeImpl
getNodeName, getValue, hashCode, recycleNode, setNodeValue, 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
addAttribute, addNamespaceDeclaration, addTextNode, getAllAttributes, getAttributeValue, getChildElements, getChildElements, getElementName, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getVisibleNamespacePrefixes, removeAttribute, removeContents, removeNamespaceDeclaration, setEncodingStyle
 
Methods inherited from interface javax.xml.soap.Node
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(String namespace,
                          String localPart,
                          String prefix,
                          Attributes attributes,
                          DeserializationContext context,
                          SOAPConstants soapConsts)
                   throws AxisFault
Method Detail

setParentElement

public void setParentElement(javax.xml.soap.SOAPElement parent)
                      throws javax.xml.soap.SOAPException
Description copied from class: NodeImpl
Sets the parent of this Node object to the given SOAPElement object.

Specified by:
setParentElement in interface javax.xml.soap.Node
Overrides:
setParentElement in class SOAPElementAxisImpl
Throws:
javax.xml.soap.SOAPException

addHeaderElement

public javax.xml.soap.SOAPHeaderElement addHeaderElement(javax.xml.soap.Name name)
                                                  throws javax.xml.soap.SOAPException
Specified by:
addHeaderElement in interface javax.xml.soap.SOAPHeader
Overrides:
addHeaderElement in class SOAPHeaderImpl
Throws:
javax.xml.soap.SOAPException

examineHeaderElements

public Iterator examineHeaderElements(String actor)
Specified by:
examineHeaderElements in interface javax.xml.soap.SOAPHeader
Overrides:
examineHeaderElements in class SOAPHeaderImpl

extractHeaderElements

public Iterator extractHeaderElements(String actor)
Specified by:
extractHeaderElements in interface javax.xml.soap.SOAPHeader
Overrides:
extractHeaderElements in class SOAPHeaderImpl

examineMustUnderstandHeaderElements

public Iterator examineMustUnderstandHeaderElements(String actor)
Specified by:
examineMustUnderstandHeaderElements in interface javax.xml.soap.SOAPHeader
Overrides:
examineMustUnderstandHeaderElements in class SOAPHeaderImpl

examineAllHeaderElements

public Iterator examineAllHeaderElements()
Specified by:
examineAllHeaderElements in interface javax.xml.soap.SOAPHeader
Overrides:
examineAllHeaderElements in class SOAPHeaderImpl

extractAllHeaderElements

public Iterator extractAllHeaderElements()
Specified by:
extractAllHeaderElements in interface javax.xml.soap.SOAPHeader
Overrides:
extractAllHeaderElements in class SOAPHeaderImpl

outputImpl

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

Overrides:
outputImpl in class SOAPElementAxisImpl
Throws:
Exception

addChildElement

public javax.xml.soap.SOAPElement addChildElement(javax.xml.soap.SOAPElement element)
                                           throws javax.xml.soap.SOAPException
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 javax.xml.soap.SOAPElement
Overrides:
addChildElement in class SOAPElementAxisImpl
Parameters:
element - child element
Returns:
soap element
Throws:
javax.xml.soap.SOAPException

addChildElement

public javax.xml.soap.SOAPElement addChildElement(javax.xml.soap.Name name)
                                           throws javax.xml.soap.SOAPException
Description copied from class: SOAPElementImpl
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 javax.xml.soap.SOAPElement
Overrides:
addChildElement in class SOAPElementAxisImpl
Throws:
javax.xml.soap.SOAPException

addChildElement

public javax.xml.soap.SOAPElement addChildElement(String localName)
                                           throws javax.xml.soap.SOAPException
Description copied from class: SOAPElementImpl
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 javax.xml.soap.SOAPElement
Overrides:
addChildElement in class SOAPElementAxisImpl
Throws:
javax.xml.soap.SOAPException

addChildElement

public javax.xml.soap.SOAPElement addChildElement(String localName,
                                                  String prefix)
                                           throws javax.xml.soap.SOAPException
Description copied from class: SOAPElementImpl
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 javax.xml.soap.SOAPElement
Overrides:
addChildElement in class SOAPElementAxisImpl
Throws:
javax.xml.soap.SOAPException

addChildElement

public javax.xml.soap.SOAPElement addChildElement(String localName,
                                                  String prefix,
                                                  String uri)
                                           throws javax.xml.soap.SOAPException
Description copied from class: SOAPElementImpl
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 javax.xml.soap.SOAPElement
Overrides:
addChildElement in class SOAPElementAxisImpl
Throws:
javax.xml.soap.SOAPException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.