Package org.apache.axiom.om
Interface OMXMLStreamReader
-
- All Superinterfaces:
OMAttachmentAccessor,XMLStreamConstants,XMLStreamReader
- All Known Implementing Classes:
OMStAXWrapper,OMXMLStreamReaderValidator
public interface OMXMLStreamReader extends XMLStreamReader, OMAttachmentAccessor
- Author:
- scheu
-
-
Field Summary
-
Fields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleanisInlineMTOM()Deprecated.This method will be removed in a future release of Axiom.voidsetInlineMTOM(boolean value)Deprecated.To return optimized base64 content as xop:Include elements, wrap the reader usingXOPEncodingStreamReaderor use the more genericXOPUtils.getXOPEncodedStream(XMLStreamReader)method.-
Methods inherited from interface org.apache.axiom.om.OMAttachmentAccessor
getDataHandler
-
Methods inherited from interface javax.xml.stream.XMLStreamReader
close, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getElementText, getEncoding, getEventType, getLocalName, getLocation, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getPIData, getPITarget, getPrefix, getProperty, getText, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hasName, hasNext, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, next, nextTag, require, standaloneSet
-
-
-
-
Method Detail
-
isInlineMTOM
boolean isInlineMTOM()
Deprecated.This method will be removed in a future release of Axiom. SeesetInlineMTOM(boolean)for more details.By default, an OMText item that has an MTOM datahandler will be rendered as a inlined text event.- Returns:
- true if inlined as TEXT, false if XOP_INCLUDE is used
-
setInlineMTOM
void setInlineMTOM(boolean value)
Deprecated.To return optimized base64 content as xop:Include elements, wrap the reader usingXOPEncodingStreamReaderor use the more genericXOPUtils.getXOPEncodedStream(XMLStreamReader)method. This method introduces unnecessary complexity in theXMLStreamReaderimplementation used by Axiom and will be removed in a future release.- Parameters:
value- set to true if inlining of text is desired (default) throw OMException if not the value is not supported.
-
-