org.apache.axiom.om
Interface OMXMLStreamReader

All Superinterfaces:
OMAttachmentAccessor, javax.xml.stream.XMLStreamConstants, javax.xml.stream.XMLStreamReader
All Known Implementing Classes:
DOMStAXWrapper, OMStAXWrapper, OMXMLStreamReaderValidator

public interface OMXMLStreamReader
extends javax.xml.stream.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
 boolean isInlineMTOM()
          By default, an OMText item that has an MTOM datahandler will be rendered as a inlined text event.
 void setInlineMTOM(boolean value)
           
 
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
 
Methods inherited from interface org.apache.axiom.om.OMAttachmentAccessor
getDataHandler
 

Method Detail

isInlineMTOM

boolean isInlineMTOM()
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)
Parameters:
value - set to true if inlining of text is desired (default) throw OMException if not the value is not supported.


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.