public class StringPayloadDataOutputParameter extends java.lang.Object implements DataOutputParameter<java.lang.String>
DataOutputParameter
is used when you want to write data to the AdaptrisMessage
payload.
An example might be specifying that the XML content required for the XPathService
can be
found in the payload of an AdaptrisMessage
.
In the adapter configuration file this class is aliased as string-payload-data-output-parameter which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
StringPayloadDataOutputParameter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentEncoding() |
void |
insert(java.lang.String data,
InterlokMessage msg) |
void |
setContentEncoding(java.lang.String contentEncoding) |
public void insert(java.lang.String data, InterlokMessage msg) throws InterlokException
insert
in interface DataOutputParameter<java.lang.String>
InterlokException
public java.lang.String getContentEncoding()
public void setContentEncoding(java.lang.String contentEncoding)