org.apache.axis2.format
Class BinaryBuilder
java.lang.Object
org.apache.axis2.format.BinaryBuilder
- All Implemented Interfaces:
- Builder, DataSourceMessageBuilder
public class BinaryBuilder
- extends java.lang.Object
- implements DataSourceMessageBuilder
Message builder for binary payloads.
This builder processes the input message as binary and wraps
the data in a wrapper element. The name of the wrapper element can
be configured as a service parameter (see BaseConstants.WRAPPER_PARAM).
It defaults to BaseConstants.DEFAULT_BINARY_WRAPPER.
|
Method Summary |
org.apache.axiom.om.OMElement |
processDocument(javax.activation.DataSource dataSource,
java.lang.String contentType,
MessageContext msgContext)
|
org.apache.axiom.om.OMElement |
processDocument(java.io.InputStream inputStream,
java.lang.String contentType,
MessageContext msgContext)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BinaryBuilder
public BinaryBuilder()
processDocument
public org.apache.axiom.om.OMElement processDocument(javax.activation.DataSource dataSource,
java.lang.String contentType,
MessageContext msgContext)
throws AxisFault
- Specified by:
processDocument in interface DataSourceMessageBuilder
- Throws:
AxisFault
processDocument
public org.apache.axiom.om.OMElement processDocument(java.io.InputStream inputStream,
java.lang.String contentType,
MessageContext msgContext)
throws AxisFault
- Specified by:
processDocument in interface Builder
- Throws:
AxisFault
Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.