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, MTOMConstants, OMAttachmentAccessor, OMXMLParserWrapper
public class MTOMStAXSOAPModelBuilder
- extends StAXSOAPModelBuilder
- implements MTOMConstants, XOPBuilder
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 |
Methods inherited from class org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder |
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, 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, isDataHandlerAware, processAttributes, registerCustomBuilder, registerCustomBuilderForPayload, registerExternalContentHandler, releaseParserOnClose, reset, setCache, setIsDataHandlerAware, setOMBuilderFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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
- Specified by:
getDataHandler
in interface OMAttachmentAccessor
- 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-2009 The Apache Software Foundation. All Rights Reserved.