org.apache.axis2.jaxws.utility
Class DataSourceFormatter
java.lang.Object
org.apache.axis2.jaxws.utility.DataSourceFormatter
- All Implemented Interfaces:
- MessageFormatter
public class DataSourceFormatter
- extends java.lang.Object
- implements MessageFormatter
|
Method Summary |
java.lang.String |
formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction)
|
byte[] |
getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format)
|
java.lang.String |
getContentType(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction)
|
java.net.URL |
getTargetAddress(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.net.URL targetURL)
|
void |
writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.io.OutputStream outputStream,
boolean preserve)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataSourceFormatter
public DataSourceFormatter(java.lang.String contentType)
getBytes
public byte[] getBytes(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format)
throws AxisFault
- Specified by:
getBytes in interface MessageFormatter
- Throws:
AxisFault
writeTo
public void writeTo(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.io.OutputStream outputStream,
boolean preserve)
throws AxisFault
- Specified by:
writeTo in interface MessageFormatter
- Throws:
AxisFault
getContentType
public java.lang.String getContentType(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction)
- Specified by:
getContentType in interface MessageFormatter
getTargetAddress
public java.net.URL getTargetAddress(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.net.URL targetURL)
throws AxisFault
- Specified by:
getTargetAddress in interface MessageFormatter
- Throws:
AxisFault
formatSOAPAction
public java.lang.String formatSOAPAction(MessageContext messageContext,
org.apache.axiom.om.OMOutputFormat format,
java.lang.String soapAction)
- Specified by:
formatSOAPAction in interface MessageFormatter
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.