public abstract class CsvXmlTransformImpl extends ServiceImp
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
CSV_FIELD_NAME |
protected static java.lang.String |
CSV_RECORD_NAME |
protected static java.lang.String |
XML_ROOT_ELEMENT |
logCONFIRMATION_ID_KEY| Constructor and Description |
|---|
CsvXmlTransformImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeService() |
protected java.lang.String |
evaluateEncoding(AdaptrisMessage msg) |
java.lang.Boolean |
getIncludeLineNumberAttribute() |
java.lang.String |
getOutputMessageEncoding() |
protected boolean |
includeLineNumberAttribute() |
protected void |
initService() |
void |
prepare() |
void |
setIncludeLineNumberAttribute(java.lang.Boolean b)
Specify whether or not to include the line number as an attribute on each record.
|
void |
setOutputMessageEncoding(java.lang.String encoding)
Set the encoding for the resulting XML document.
|
changeState, close, continueOnFailure, createName, createQualifier, getContinueOnFail, getIsTrackingEndpoint, getLookupName, getUniqueId, init, isBranching, isTrackingEndpoint, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, setContinueOnFail, setIsTrackingEndpoint, setLookupName, setUniqueId, start, stopprotected static final java.lang.String CSV_RECORD_NAME
protected static final java.lang.String XML_ROOT_ELEMENT
protected static final java.lang.String CSV_FIELD_NAME
protected void initService()
throws CoreException
initService in class ServiceImpCoreExceptionprotected void closeService()
closeService in class ServiceImppublic void prepare()
throws CoreException
CoreExceptionpublic java.lang.String getOutputMessageEncoding()
public void setOutputMessageEncoding(java.lang.String encoding)
If not specified the following rules will be applied:
AdaptrisMessage.getCharEncoding() is non-null then that will be used.
As a result; the character encoding on the message is always set using AdaptrisMessage.setCharEncoding(String).
encoding - the characterprotected java.lang.String evaluateEncoding(AdaptrisMessage msg)
public java.lang.Boolean getIncludeLineNumberAttribute()
public void setIncludeLineNumberAttribute(java.lang.Boolean b)
b - whether to include the line number attribute default null (false)protected boolean includeLineNumberAttribute()