com.ibm.di.fc.webservice.util
Class SOAPHeaderOutputAttributes

java.lang.Object
  extended by org.apache.axis.message.NodeImpl
      extended by org.apache.axis.message.MessageElement
          extended by org.apache.axis.message.SOAPHeader
              extended by com.ibm.di.fc.webservice.util.SOAPHeaderOutputAttributes
All Implemented Interfaces:
Serializable, Cloneable, javax.xml.soap.SOAPElement, javax.xml.soap.SOAPHeader, Element, Node, NodeList

public class SOAPHeaderOutputAttributes
extends org.apache.axis.message.SOAPHeader

This class extends the SOAPHeader and it is used by the SOAPBodyElementOutputNS and WrapSoap classes

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.axis.message.MessageElement
org.apache.axis.message.MessageElement.QNameAttr
 
Field Summary
 
Fields inherited from class org.apache.axis.message.MessageElement
_isRoot, context, encodingStyle, endEventIndex, fixupDeserializer, href, id, message, namespaces, qNameAttrs, recorder, startContentsIndex, startEventIndex, typeQName
 
Fields inherited from class org.apache.axis.message.NodeImpl
_isDirty, attributes, children, document, name, namespaceURI, parent, prefix, textRep
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
SOAPHeaderOutputAttributes(org.apache.axis.message.SOAPEnvelope env, org.apache.axis.soap.SOAPConstants soapConsts, Log aLog)
          Class constructor
SOAPHeaderOutputAttributes(String arg0, String arg1, String arg2, Attributes arg3, org.apache.axis.encoding.DeserializationContext arg4, org.apache.axis.soap.SOAPConstants soapConst, Log aLog)
          Class constructor
 
Method Summary
 void addMapping(org.apache.axis.utils.Mapping map)
          add a new namespace/prefix mapping
 javax.xml.soap.SOAPElement addNamespaceDeclaration(String prefix, String uri)
          create a Mapping and add to our namespace list.
 boolean equals(Object o)
          
 Attributes getCompleteAttributes()
          Obtain an Attributes collection consisting of all attributes for this MessageElement, including namespace declarations.
 int hashCode()
          
protected  void outputImpl(org.apache.axis.encoding.SerializationContext context)
          override point -output to a serialization context.
 
Methods inherited from class org.apache.axis.message.SOAPHeader
addChild, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addHeaderElement, appendChild, examineAllHeaderElements, examineHeaderElements, examineMustUnderstandHeaderElements, extractAllHeaderElements, extractHeaderElements, setParentElement
 
Methods inherited from class org.apache.axis.message.MessageElement
addAttribute, addAttribute, addAttribute, addAttribute, addTextNode, childDeepCloned, cloneNode, cloning, detachAllChildren, findElement, getAllAttributes, getAsDocument, getAsDOM, getAsString, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributesEx, getAttributeValue, getAttributeValue, getChildElement, getChildElements, getChildElements, getChildElements, getChildren, getDeserializationContext, getElementName, getElementsByTagName, getElementsByTagNameNS, getElementsNS, getEncodingStyle, getEnvelope, getFixupDeserializer, getHref, getID, getLength, getName, getNamespacePrefixes, getNamespaceURI, getObjectValue, getObjectValue, getOwnerDocument, getPrefix, getQName, getRealElement, getRecorder, getTagName, getType, getValue, getValueAsType, getValueAsType, getValueDOM, getVisibleNamespacePrefixes, hasAttribute, hasAttributeNS, isRoot, item, output, publishContents, publishToHandler, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, removeContents, removeNamespaceDeclaration, setAllAttributes, setAttribute, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setContentsIndex, setEncodingStyle, setEndIndex, setEnvelope, setFixupDeserializer, setName, setNamespaceURI, setNSMappings, setObjectValue, setQName, setRecorder, setType, setValue, toString
 
Methods inherited from class org.apache.axis.message.NodeImpl
convertAttrSAXtoDOM, detachNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getParent, getParentElement, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, initializeChildren, insertBefore, isDirty, isSupported, makeAttributesEditable, normalize, recycleNode, removeChild, replaceChild, reset, setDirty, setDirty, setNodeValue, setOwnerDocument, setParent, setPrefix
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.xml.soap.SOAPHeader
addHeaderElement, addNotUnderstoodHeaderElement, addUpgradeHeaderElement, addUpgradeHeaderElement, addUpgradeHeaderElement
 
Methods inherited from interface javax.xml.soap.SOAPElement
addAttribute, addAttribute, addChildElement, addTextNode, createQName, getAllAttributes, getAllAttributesAsQNames, getAttributeValue, getAttributeValue, getChildElements, getChildElements, getChildElements, getElementName, getElementQName, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getVisibleNamespacePrefixes, removeAttribute, removeAttribute, removeContents, removeNamespaceDeclaration, setElementQName, setEncodingStyle
 
Methods inherited from interface javax.xml.soap.Node
detachNode, getParentElement, getValue, recycleNode, setValue
 
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
 
Methods inherited from interface org.w3c.dom.Node
cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 

Constructor Detail

SOAPHeaderOutputAttributes

public SOAPHeaderOutputAttributes(org.apache.axis.message.SOAPEnvelope env,
                                  org.apache.axis.soap.SOAPConstants soapConsts,
                                  Log aLog)
                           throws Exception
Class constructor

Parameters:
env - SOAPEnvelope
soapConsts - SOAPConstants
aLog - Log
Throws:
Exception

SOAPHeaderOutputAttributes

public SOAPHeaderOutputAttributes(String arg0,
                                  String arg1,
                                  String arg2,
                                  Attributes arg3,
                                  org.apache.axis.encoding.DeserializationContext arg4,
                                  org.apache.axis.soap.SOAPConstants soapConst,
                                  Log aLog)
                           throws org.apache.axis.AxisFault
Class constructor

Parameters:
arg0 - namespace
arg1 - local part
arg2 - prefix
arg3 - Attributes
arg4 - DeserializationContext
soapConst -
aLog -
Throws:
org.apache.axis.AxisFault
Method Detail

outputImpl

protected void outputImpl(org.apache.axis.encoding.SerializationContext context)
                   throws Exception
override point -output to a serialization context.

Overrides:
outputImpl in class org.apache.axis.message.SOAPHeader
Parameters:
context - destination.
Throws:
Exception - if something went wrong.

getCompleteAttributes

public Attributes getCompleteAttributes()
Obtain an Attributes collection consisting of all attributes for this MessageElement, including namespace declarations.

Overrides:
getCompleteAttributes in class org.apache.axis.message.MessageElement
Returns:
Attributes collection

addNamespaceDeclaration

public javax.xml.soap.SOAPElement addNamespaceDeclaration(String prefix,
                                                          String uri)
                                                   throws javax.xml.soap.SOAPException
create a Mapping and add to our namespace list.

Specified by:
addNamespaceDeclaration in interface javax.xml.soap.SOAPElement
Overrides:
addNamespaceDeclaration in class org.apache.axis.message.MessageElement
Parameters:
prefix - String
uri - String
Returns:
SOAPElement
Throws:
javax.xml.soap.SOAPException - - for any RuntimeException caught

addMapping

public void addMapping(org.apache.axis.utils.Mapping map)
add a new namespace/prefix mapping

Overrides:
addMapping in class org.apache.axis.message.MessageElement
Parameters:
map - new mapping to add

equals

public boolean equals(Object o)

Overrides:
equals in class org.apache.axis.message.MessageElement

hashCode

public int hashCode()

Overrides:
hashCode in class Object