org.apache.axiom.soap.impl.builder
Class MTOMStAXSOAPModelBuilder
java.lang.Object
org.apache.axiom.om.impl.builder.StAXBuilder
org.apache.axiom.om.impl.builder.StAXOMBuilder
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder
org.apache.axiom.soap.impl.builder.MTOMStAXSOAPModelBuilder
- All Implemented Interfaces:
- XOPBuilder, OMAttachmentAccessor, OMXMLParserWrapper, SOAPModelBuilder
public class MTOMStAXSOAPModelBuilder
- extends StAXSOAPModelBuilder
- implements XOPBuilder
Fields inherited from class org.apache.axiom.om.impl.builder.StAXBuilder |
_isClosed, _releaseParserOnClose, cache, charEncoding, customBuilderForPayload, customBuilders, dataHandlerReader, document, done, elementLevel, lastNode, maxDepthForCustomBuilders, omfactory, parser, parserAccessed, parserException |
Methods inherited from class org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder |
constructNode, createDTD, createNextOMElement, createOMElement, 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, getDocumentElement, isLookahead, isNamespaceURIInterning, logParserState, 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 |
Methods inherited from interface org.apache.axiom.om.OMXMLParserWrapper |
close, discard, getBuilderType, getCharacterEncoding, getDocumentElement, getParser, getRegisteredContentHandler, isCache, isCompleted, next, registerExternalContentHandler, setCache |
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)
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-2013 The Apache Software Foundation. All Rights Reserved.