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
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, lastNode, maxDepthForCustomBuilders, omfactory, parser, parserAccessed, parserException
-
-
Constructor Summary
Constructors Constructor Description MTOMStAXSOAPModelBuilder(XMLStreamReader reader, Attachments attachments)MTOMStAXSOAPModelBuilder(XMLStreamReader reader, Attachments attachments, String soapVersion)MTOMStAXSOAPModelBuilder(XMLStreamReader parser, SOAPFactory factory, Attachments attachments, String soapVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachmentsgetAttachments()DataHandlergetDataHandler(String blobContentID)-
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
-
-
-
-
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)
-
-
Method Detail
-
getDataHandler
public DataHandler getDataHandler(String blobContentID) throws OMException
- Specified by:
getDataHandlerin interfaceOMAttachmentAccessor- Specified by:
getDataHandlerin interfaceXOPBuilder- 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:
getAttachmentsin interfaceXOPBuilder
-
-