org.apache.axiom.soap.impl.builder
Class MTOMStAXSOAPModelBuilder

java.lang.Object
  extended by org.apache.axiom.om.impl.builder.StAXBuilder
      extended by org.apache.axiom.om.impl.builder.StAXOMBuilder
          extended by org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder
              extended by org.apache.axiom.soap.impl.builder.MTOMStAXSOAPModelBuilder
All Implemented Interfaces:
XOPBuilder, MTOMConstants, OMXMLParserWrapper

public class MTOMStAXSOAPModelBuilder
extends StAXSOAPModelBuilder
implements MTOMConstants, XOPBuilder


Field Summary
(package private)  Attachments attachments
          Attachments handles deferred parsing of incoming MIME Messages.
(package private)  int partIndex
           
 
Fields inherited from class org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder
soapMessage
 
Fields inherited from class org.apache.axiom.om.impl.builder.StAXBuilder
_isClosed, _releaseParserOnClose, cache, charEncoding, customBuilderForPayload, customBuilders, document, done, elementLevel, isDataHandlerAware, lastNode, maxDepthForCustomBuilders, omfactory, parser, parserAccessed
 
Fields inherited from interface org.apache.axiom.om.impl.MTOMConstants
ATTACHMENTS, MTOM_TYPE, ROOT_PART, SWA_TYPE, SWA_TYPE_12, XOP_INCLUDE, XOP_NAMESPACE_URI
 
Constructor Summary
MTOMStAXSOAPModelBuilder(javax.xml.stream.XMLStreamReader reader, Attachments attachments)
           
MTOMStAXSOAPModelBuilder(javax.xml.stream.XMLStreamReader reader, Attachments attachments, java.lang.String soapVersion)
           
MTOMStAXSOAPModelBuilder(javax.xml.stream.XMLStreamReader parser, SOAPFactory factory, Attachments attachments, java.lang.String soapVersion)
           
 
Method Summary
protected  OMNode createOMElement()
          Method createOMElement.
 javax.activation.DataHandler getDataHandler(java.lang.String blobContentID)
           
 
Methods inherited from class org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder
adjustElementLevel, constructNode, createDTD, createNextOMElement, createPI, endElement, getDocument, getDocumentElement, getEnvelopeNamespace, getSOAPEnvelope, getSoapFactory, getSoapMessage, identifySOAPVersion, isProcessingDetailElements, processNamespaceData, setProcessingDetailElements, setSOAPEnvelope
 
Methods inherited from class org.apache.axiom.om.impl.builder.StAXOMBuilder
createComment, createPrefix, createWithCustomBuilder, isLookahead, isNamespaceURIInterning, lookahead, next, processNamespaceData, setDoDebug, setNamespaceURIInterning
 
Methods inherited from class org.apache.axiom.om.impl.builder.StAXBuilder
close, createOMText, discard, getAttributeCount, getAttributeName, getAttributeNamespace, getAttributePrefix, getBuilderType, getCharacterEncoding, getCharsetEncoding, getCustomBuilder, getLastNode, getName, getNamespace, getNamespaceCount, getNamespacePrefix, getNamespaceUri, getParser, getPrefix, getReaderProperty, getRegisteredContentHandler, getText, init, isCache, isClosed, isCompleted, processAttributes, registerCustomBuilder, registerCustomBuilderForPayload, registerExternalContentHandler, releaseParserOnClose, reset, setCache, setOMBuilderFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attachments

Attachments attachments
Attachments handles deferred parsing of incoming MIME Messages.


partIndex

int partIndex
Constructor Detail

MTOMStAXSOAPModelBuilder

public MTOMStAXSOAPModelBuilder(javax.xml.stream.XMLStreamReader parser,
                                SOAPFactory factory,
                                Attachments attachments,
                                java.lang.String soapVersion)

MTOMStAXSOAPModelBuilder

public MTOMStAXSOAPModelBuilder(javax.xml.stream.XMLStreamReader reader,
                                Attachments attachments,
                                java.lang.String soapVersion)
Parameters:
reader -
attachments -

MTOMStAXSOAPModelBuilder

public MTOMStAXSOAPModelBuilder(javax.xml.stream.XMLStreamReader reader,
                                Attachments attachments)
Method Detail

createOMElement

protected OMNode createOMElement()
                          throws OMException
Description copied from class: StAXSOAPModelBuilder
Method createOMElement.

Overrides:
createOMElement in class StAXSOAPModelBuilder
Returns:
Returns OMNode.
Throws:
OMException

getDataHandler

public javax.activation.DataHandler getDataHandler(java.lang.String blobContentID)
                                            throws OMException
Specified by:
getDataHandler in interface XOPBuilder
Throws:
OMException