org.apache.soap
Class Header

java.lang.Object
  |
  +--org.apache.soap.Header

public class Header
extends java.lang.Object

A Header object represents the contents and semantics of a <SOAP-ENV:Header> element.

Author:
Matthew J. Duftler (duftler@us.ibm.com), Sanjiva Weerawarana (sanjiva@watson.ibm.com)

Constructor Summary
Header()
           
 
Method Summary
 void declareNamespace(java.lang.String nsPrefix, java.lang.String namespaceURI)
           
 java.lang.String getAttribute(QName attrQName)
           
 java.util.Vector getHeaderEntries()
           
 void marshall(java.io.Writer sink, NSStack nsStack, XMLJavaMappingRegistry xjmr)
           
 void removeAttribute(QName attrQName)
           
 void setAttribute(QName attrQName, java.lang.String value)
           
 void setHeaderEntries(java.util.Vector headerEntries)
           
 java.lang.String toString()
           
static Header unmarshall(org.w3c.dom.Node src)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Header

public Header()
Method Detail

setAttribute

public void setAttribute(QName attrQName,
                         java.lang.String value)

getAttribute

public java.lang.String getAttribute(QName attrQName)

removeAttribute

public void removeAttribute(QName attrQName)

declareNamespace

public void declareNamespace(java.lang.String nsPrefix,
                             java.lang.String namespaceURI)

setHeaderEntries

public void setHeaderEntries(java.util.Vector headerEntries)

getHeaderEntries

public java.util.Vector getHeaderEntries()

marshall

public void marshall(java.io.Writer sink,
                     NSStack nsStack,
                     XMLJavaMappingRegistry xjmr)
              throws java.lang.IllegalArgumentException,
                     java.io.IOException

unmarshall

public static Header unmarshall(org.w3c.dom.Node src)
                         throws java.lang.IllegalArgumentException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright 2001 Oracle SOAP. All Rights Reserved.