public class XOPAwareStAXOMBuilder extends StAXOMBuilder implements XOPBuilder
| Modifier and Type | Field and Description |
|---|---|
(package private) Attachments |
attachments
Attachments handles deferred parsing of incoming MIME Messages. |
_isClosed, _releaseParserOnClose, cache, charEncoding, customBuilderForPayload, customBuilders, dataHandlerReader, document, done, elementLevel, maxDepthForCustomBuilders, omfactory, parser, parserAccessed, parserException, target| Constructor and Description |
|---|
XOPAwareStAXOMBuilder(java.io.InputStream inStream,
Attachments attachments) |
XOPAwareStAXOMBuilder(OMFactory ombuilderFactory,
javax.xml.stream.XMLStreamReader parser,
Attachments attachments)
Constructor StAXOMBuilder.
|
XOPAwareStAXOMBuilder(OMFactory omFactory,
javax.xml.stream.XMLStreamReader reader,
MimePartProvider mimePartProvider) |
XOPAwareStAXOMBuilder(OMFactory factory,
javax.xml.stream.XMLStreamReader parser,
OMElement element,
Attachments attachments)
Constructor linked to existing element.
|
XOPAwareStAXOMBuilder(java.lang.String filePath,
Attachments attachments) |
XOPAwareStAXOMBuilder(javax.xml.stream.XMLStreamReader parser,
Attachments attachments)
Constructor StAXXOPAwareOMBuilder.
|
| Modifier and Type | Method and Description |
|---|---|
Attachments |
getAttachments() |
javax.activation.DataHandler |
getDataHandler(java.lang.String blobContentID) |
constructNode, createComment, createDocument, createDTD, createEntityReference, createNextOMElement, createOMElement, createPI, createPrefix, createWithCustomBuilder, getDocumentElement, getDocumentElement, isLookahead, isNamespaceURIInterning, logParserState, lookahead, next, parserNext, processNamespaceData, setDoDebug, setNamespaceURIInterningclose, 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, setOMBuilderFactoryAttachments attachments
Attachments handles deferred parsing of incoming MIME Messages.public XOPAwareStAXOMBuilder(OMFactory ombuilderFactory, javax.xml.stream.XMLStreamReader parser, Attachments attachments)
ombuilderFactory - parser - public XOPAwareStAXOMBuilder(OMFactory factory, javax.xml.stream.XMLStreamReader parser, OMElement element, Attachments attachments)
factory - parser - element - public XOPAwareStAXOMBuilder(java.lang.String filePath,
Attachments attachments)
throws javax.xml.stream.XMLStreamException,
java.io.FileNotFoundException
filePath - - Path to the XML filejavax.xml.stream.XMLStreamExceptionjava.io.FileNotFoundExceptionpublic XOPAwareStAXOMBuilder(java.io.InputStream inStream,
Attachments attachments)
throws javax.xml.stream.XMLStreamException
inStream - - instream which contains the XMLjavax.xml.stream.XMLStreamExceptionpublic XOPAwareStAXOMBuilder(javax.xml.stream.XMLStreamReader parser,
Attachments attachments)
parser - public XOPAwareStAXOMBuilder(OMFactory omFactory, javax.xml.stream.XMLStreamReader reader, MimePartProvider mimePartProvider)
public javax.activation.DataHandler getDataHandler(java.lang.String blobContentID)
throws OMException
getDataHandler in interface XOPBuildergetDataHandler in interface OMAttachmentAccessorblobContentID - (without the surrounding angle brackets and "cid:" prefix)OMExceptionpublic Attachments getAttachments()
getAttachments in interface XOPBuilder