public class BinaryBuilder extends Object implements DataSourceMessageBuilder
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.
| Constructor and Description |
|---|
BinaryBuilder() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.axiom.om.OMElement |
processDocument(javax.activation.DataSource dataSource,
String contentType,
MessageContext msgContext) |
org.apache.axiom.om.OMElement |
processDocument(InputStream inputStream,
String contentType,
MessageContext msgContext) |
public org.apache.axiom.om.OMElement processDocument(javax.activation.DataSource dataSource,
String contentType,
MessageContext msgContext)
throws AxisFault
processDocument in interface DataSourceMessageBuilderAxisFaultpublic org.apache.axiom.om.OMElement processDocument(InputStream inputStream, String contentType, MessageContext msgContext) throws AxisFault
processDocument in interface BuilderAxisFaultCopyright © 2004–2015 The Apache Software Foundation. All rights reserved.