org.apache.axiom.soap

## Interface SOAPModelBuilder

- All Superinterfaces:
    OMXMLParserWrapper
  All Known Implementing Classes:
    MTOMStAXSOAPModelBuilder, StAXSOAPModelBuilder

      public interface SOAPModelBuilder
      extends OMXMLParserWrapper

  SOAP specific extension to `OMXMLParserWrapper`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `SOAPEnvelope` | `getSOAPEnvelope()` Get the SOAP envelope for the document processed by this builder.
    `SOAPMessage` | `getSOAPMessage()` Get the SOAP message being built by this builder.

    - ### Methods inherited from interface org.apache.axiom.om.OMXMLParserWrapper

      `close, detach, discard, getBuilderType, getCharacterEncoding, getDocument, getDocumentElement, getDocumentElement, getParser, getRegisteredContentHandler, isCache, isCompleted, next, registerExternalContentHandler, setCache`

- - ### Method Detail

    - #### getSOAPEnvelope

          SOAPEnvelope getSOAPEnvelope()

      Get the SOAP envelope for the document processed by this builder. This is a convenience method that has the same return value as `OMXMLParserWrapper.getDocumentElement()` but a different return type.
      Returns:
        the SOAP envelope

    - #### getSOAPMessage

          SOAPMessage getSOAPMessage()

      Get the SOAP message being built by this builder. This is a convenience method that has the same return value as `OMXMLParserWrapper.getDocument()` but a different return type.
      Returns:
        the SOAP message

Copyright © The Apache Software Foundation. All Rights Reserved.