Interface OMXMLStreamReader

    • Method Detail

      • isInlineMTOM

        boolean isInlineMTOM()
        Deprecated.
        This method will be removed in a future release of Axiom. See setInlineMTOM(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 using XOPEncodingStreamReader or use the more generic XOPUtils.getXOPEncodedStream(XMLStreamReader) method. This method introduces unnecessary complexity in the XMLStreamReader implementation 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.