public class XOPAwareStAXOMBuilder extends StAXOMBuilder implements XOPBuilder
_isClosed, _releaseParserOnClose, cache, charEncoding, customBuilderForPayload, customBuilders, dataHandlerReader, document, done, elementLevel, maxDepthForCustomBuilders, omfactory, parser, parserAccessed, parserException, target
Constructor and Description |
---|
XOPAwareStAXOMBuilder(InputStream inStream,
Attachments attachments) |
XOPAwareStAXOMBuilder(OMFactory ombuilderFactory,
XMLStreamReader parser,
Attachments attachments)
Constructor StAXOMBuilder.
|
XOPAwareStAXOMBuilder(OMFactory omFactory,
XMLStreamReader reader,
MimePartProvider mimePartProvider) |
XOPAwareStAXOMBuilder(OMFactory factory,
XMLStreamReader parser,
OMElement element,
Attachments attachments)
Constructor linked to existing element.
|
XOPAwareStAXOMBuilder(String filePath,
Attachments attachments) |
XOPAwareStAXOMBuilder(XMLStreamReader parser,
Attachments attachments)
Constructor StAXXOPAwareOMBuilder.
|
Modifier and Type | Method and Description |
---|---|
Attachments |
getAttachments() |
DataHandler |
getDataHandler(String blobContentID) |
constructNode, createComment, createDocument, createDTD, createEntityReference, createNextOMElement, createOMElement, createPI, createPrefix, createWithCustomBuilder, getDocumentElement, getDocumentElement, isLookahead, isNamespaceURIInterning, logParserState, lookahead, next, processNamespaceData, setDoDebug, setNamespaceURIInterning
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
public XOPAwareStAXOMBuilder(OMFactory ombuilderFactory, XMLStreamReader parser, Attachments attachments)
ombuilderFactory
- parser
- public XOPAwareStAXOMBuilder(OMFactory factory, XMLStreamReader parser, OMElement element, Attachments attachments)
factory
- parser
- element
- public XOPAwareStAXOMBuilder(String filePath, Attachments attachments) throws XMLStreamException, FileNotFoundException
filePath
- - Path to the XML fileXMLStreamException
FileNotFoundException
public XOPAwareStAXOMBuilder(InputStream inStream, Attachments attachments) throws XMLStreamException
inStream
- - instream which contains the XMLXMLStreamException
public XOPAwareStAXOMBuilder(XMLStreamReader parser, Attachments attachments)
parser
- public XOPAwareStAXOMBuilder(OMFactory omFactory, XMLStreamReader reader, MimePartProvider mimePartProvider)
public DataHandler getDataHandler(String blobContentID) throws OMException
getDataHandler
in interface XOPBuilder
getDataHandler
in interface OMAttachmentAccessor
blobContentID
- (without the surrounding angle brackets and "cid:" prefix)OMException
public Attachments getAttachments()
getAttachments
in interface XOPBuilder
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.