Package org.wso2.carbon.relay
Class MessageBuilder
- java.lang.Object
-
- org.wso2.carbon.relay.MessageBuilder
-
public class MessageBuilder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringFORCED_RELAY_FORMATTERstatic StringRELAY_FORMATTERS_MAP
-
Constructor Summary
Constructors Constructor Description MessageBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBuilder(String contentType, org.apache.axis2.builder.Builder builder)voidaddFormatter(String contentType, org.apache.axis2.transport.MessageFormatter messageFormatter)static org.apache.axis2.builder.BuildercreateBuilder(String className)static org.apache.axis2.transport.MessageFormattercreateFormatter(String className)Map<String,org.apache.axis2.builder.Builder>getBuilders()org.apache.axiom.om.OMElementgetDocument(String contentType, org.apache.axis2.context.MessageContext msgCtx, InputStream in)Map<String,org.apache.axis2.transport.MessageFormatter>getFormatters()
-
-
-
Field Detail
-
RELAY_FORMATTERS_MAP
public static final String RELAY_FORMATTERS_MAP
- See Also:
- Constant Field Values
-
FORCED_RELAY_FORMATTER
public static final String FORCED_RELAY_FORMATTER
- See Also:
- Constant Field Values
-
-
Method Detail
-
addBuilder
public void addBuilder(String contentType, org.apache.axis2.builder.Builder builder)
-
addFormatter
public void addFormatter(String contentType, org.apache.axis2.transport.MessageFormatter messageFormatter)
-
getDocument
public org.apache.axiom.om.OMElement getDocument(String contentType, org.apache.axis2.context.MessageContext msgCtx, InputStream in) throws XMLStreamException, org.apache.axis2.AxisFault
- Throws:
XMLStreamExceptionorg.apache.axis2.AxisFault
-
createBuilder
public static org.apache.axis2.builder.Builder createBuilder(String className) throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
-
createFormatter
public static org.apache.axis2.transport.MessageFormatter createFormatter(String className) throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
-
-