public class COutputField
extends java.lang.Object
| Constructor and Description |
|---|
COutputField() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
FieldName() |
int |
MaxLength() |
java.lang.String |
PreparedFieldValue(CMessage oMsg,
char cDelimiter)
Replace the delimiter with another character and truncate if necessary
Also handle Nulls and strip CRLFs
|
java.lang.String |
PreparedFieldValueMySql(CMessage oMsg)
Replace special characters using MySQL escaping and truncate if necessary
|
void |
ReadFromElement(org.w3c.dom.Element oElem,
java.util.TimeZone timezoneForDates,
boolean usingParameterizedSql)
Read the field name, max length, and date format (if applicable) from
an xml node that was read from the config file
|
public java.lang.String FieldName()
public int MaxLength()
public void ReadFromElement(org.w3c.dom.Element oElem,
java.util.TimeZone timezoneForDates,
boolean usingParameterizedSql)
throws ResponseMasterException
oElem - The xmlnode to read fromusingParameterizedSql - Does the parent config tell us to use parameterized sql or escaping.timezoneForDates - The timezone to use for dates (from the parent config)ResponseMasterException - if there is a problempublic java.lang.String PreparedFieldValue(CMessage oMsg, char cDelimiter)
oMsg - The message to get the field fromcDelimiter - The delimiter to remove from the stringpublic java.lang.String PreparedFieldValueMySql(CMessage oMsg)
oMsg - The message to get the field from