org.apache.axis.message
Class EnvelopeBuilder

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended byorg.apache.axis.message.SOAPHandler
          extended byorg.apache.axis.message.EnvelopeBuilder
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class EnvelopeBuilder
extends SOAPHandler

The EnvelopeBuilder is responsible for parsing the top-level SOAP envelope stuff (Envelope, Body, Header), and spawning off HeaderBuilder and BodyBuilders.


Field Summary
 
Fields inherited from class org.apache.axis.message.SOAPHandler
myElement
 
Constructor Summary
EnvelopeBuilder(SOAPEnvelope env, java.lang.String messageType)
           
EnvelopeBuilder(java.lang.String messageType, SOAPConstants soapConstants)
           
 
Method Summary
 void endElement(java.lang.String namespace, java.lang.String localName, org.apache.axis.encoding.DeserializationContext context)
           
 SOAPEnvelope getEnvelope()
           
 void onEndChild(java.lang.String namespace, java.lang.String localName, org.apache.axis.encoding.DeserializationContext context)
           
 SOAPHandler onStartChild(java.lang.String namespace, java.lang.String localName, java.lang.String prefix, org.xml.sax.Attributes attributes, org.apache.axis.encoding.DeserializationContext context)
           
 void startElement(java.lang.String namespace, java.lang.String localName, java.lang.String prefix, org.xml.sax.Attributes attributes, org.apache.axis.encoding.DeserializationContext context)
           
 
Methods inherited from class org.apache.axis.message.SOAPHandler
characters, makeNewElement
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnvelopeBuilder

public EnvelopeBuilder(java.lang.String messageType,
                       SOAPConstants soapConstants)

EnvelopeBuilder

public EnvelopeBuilder(SOAPEnvelope env,
                       java.lang.String messageType)
Method Detail

getEnvelope

public SOAPEnvelope getEnvelope()

startElement

public void startElement(java.lang.String namespace,
                         java.lang.String localName,
                         java.lang.String prefix,
                         org.xml.sax.Attributes attributes,
                         org.apache.axis.encoding.DeserializationContext context)
                  throws org.xml.sax.SAXException
Overrides:
startElement in class SOAPHandler
Throws:
org.xml.sax.SAXException

onStartChild

public SOAPHandler onStartChild(java.lang.String namespace,
                                java.lang.String localName,
                                java.lang.String prefix,
                                org.xml.sax.Attributes attributes,
                                org.apache.axis.encoding.DeserializationContext context)
                         throws org.xml.sax.SAXException
Overrides:
onStartChild in class SOAPHandler
Throws:
org.xml.sax.SAXException

onEndChild

public void onEndChild(java.lang.String namespace,
                       java.lang.String localName,
                       org.apache.axis.encoding.DeserializationContext context)
Overrides:
onEndChild in class SOAPHandler

endElement

public void endElement(java.lang.String namespace,
                       java.lang.String localName,
                       org.apache.axis.encoding.DeserializationContext context)
                throws org.xml.sax.SAXException
Overrides:
endElement in class SOAPHandler
Throws:
org.xml.sax.SAXException


Copyright 2003 Apache Web Services Project. A ll Rights Reserved.