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, OMAttachmentAccessor, OMXMLParserWrapper, SOAPModelBuilder

public class MTOMStAXSOAPModelBuilder
extends StAXSOAPModelBuilder
implements XOPBuilder


Field Summary
 
Fields inherited from class org.apache.axiom.om.impl.builder.StAXBuilder
_isClosed, _releaseParserOnClose, cache, charEncoding, customBuilderForPayload, customBuilders, dataHandlerReader, document, done, elementLevel, maxDepthForCustomBuilders, omfactory, parser, parserAccessed, parserException, target
 
Constructor Summary
MTOMStAXSOAPModelBuilder(SOAPFactory soapFactory, XMLStreamReader reader, MimePartProvider mimePartProvider)
           
MTOMStAXSOAPModelBuilder(XMLStreamReader reader, Attachments attachments)
           
MTOMStAXSOAPModelBuilder(XMLStreamReader reader, Attachments attachments, String soapVersion)
           
MTOMStAXSOAPModelBuilder(XMLStreamReader parser, SOAPFactory factory, Attachments attachments, String soapVersion)
           
 
Method Summary
 Attachments getAttachments()
           
 DataHandler getDataHandler(String blobContentID)
           
 
Methods inherited from class org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder
constructNode, createDocument, createDTD, createEntityReference, createNextOMElement, createPI, getEnvelopeNamespace, getSOAPEnvelope, getSOAPFactory, getSoapMessage, identifySOAPVersion
 
Methods inherited from class org.apache.axiom.om.impl.builder.StAXOMBuilder
createComment, createOMElement, createPrefix, createWithCustomBuilder, getDocumentElement, getDocumentElement, isLookahead, isNamespaceURIInterning, logParserState, lookahead, next, processNamespaceData, setDoDebug, setNamespaceURIInterning
 
Methods inherited from class org.apache.axiom.om.impl.builder.StAXBuilder
close, createDocumentIfNecessary, createOMText, debugDiscarded, discard, discard, getAttributeCount, getAttributeName, getAttributeNamespace, getAttributePrefix, getBuilderType, getCharacterEncoding, getCharsetEncoding, getCustomBuilder, getDocument, getName, getNamespace, getNamespaceCount, getNamespacePrefix, getNamespaceUri, getParser, getPrefix, getReaderProperty, getRegisteredContentHandler, getText, init, isCache, isClosed, isCompleted, processAttributes, registerCustomBuilder, registerCustomBuilderForPayload, registerExternalContentHandler, releaseParserOnClose, setCache, setOMBuilderFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.axiom.om.OMXMLParserWrapper
close, discard, getBuilderType, getCharacterEncoding, getDocument, getDocumentElement, getDocumentElement, getParser, getRegisteredContentHandler, isCache, isCompleted, next, registerExternalContentHandler, setCache
 

Constructor Detail

MTOMStAXSOAPModelBuilder

public MTOMStAXSOAPModelBuilder(XMLStreamReader parser,
                                SOAPFactory factory,
                                Attachments attachments,
                                String soapVersion)

MTOMStAXSOAPModelBuilder

public MTOMStAXSOAPModelBuilder(XMLStreamReader reader,
                                Attachments attachments,
                                String soapVersion)
Parameters:
reader -
attachments -

MTOMStAXSOAPModelBuilder

public MTOMStAXSOAPModelBuilder(XMLStreamReader reader,
                                Attachments attachments)

MTOMStAXSOAPModelBuilder

public MTOMStAXSOAPModelBuilder(SOAPFactory soapFactory,
                                XMLStreamReader reader,
                                MimePartProvider mimePartProvider)
Method Detail

getDataHandler

public DataHandler getDataHandler(String blobContentID)
                           throws OMException
Specified by:
getDataHandler in interface XOPBuilder
Specified by:
getDataHandler in interface OMAttachmentAccessor
Parameters:
blobContentID - (without the surrounding angle brackets and "cid:" prefix)
Returns:
The DataHandler of the mime part referred by the Content-Id or *null* if the mime part referred by the content-id does not exist
Throws:
OMException

getAttachments

public Attachments getAttachments()
Specified by:
getAttachments in interface XOPBuilder


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.