org.apache.soap
Class Envelope

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

public class Envelope
extends java.lang.Object

An Envelope object represents the contents and semantics of an <SOAP-ENV:Envelope> element.

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

Constructor Summary
Envelope()
           
 
Method Summary
 void declareNamespace(java.lang.String nsPrefix, java.lang.String namespaceURI)
           
 java.lang.String getAttribute(QName attrQName)
           
 Body getBody()
           
 java.util.Vector getEnvelopeEntries()
           
 Header getHeader()
           
 void marshall(java.io.Writer sink, XMLJavaMappingRegistry xjmr)
           
 void removeAttribute(QName attrQName)
           
 void setAttribute(QName attrQName, java.lang.String value)
           
 void setBody(Body body)
           
 void setEnvelopeEntries(java.util.Vector envelopeEntries)
           
 void setHeader(Header header)
           
 java.lang.String toString()
           
static Envelope 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

Envelope

public Envelope()
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)

setHeader

public void setHeader(Header header)

getHeader

public Header getHeader()

setBody

public void setBody(Body body)

getBody

public Body getBody()

setEnvelopeEntries

public void setEnvelopeEntries(java.util.Vector envelopeEntries)

getEnvelopeEntries

public java.util.Vector getEnvelopeEntries()

marshall

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

unmarshall

public static Envelope 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.