com.fdsapi
Class DataSetCellConstant
java.lang.Object
|
+--com.fdsapi.DataSet
|
+--com.fdsapi.DataSetCellBase
|
+--com.fdsapi.DataSetCellConstant
- All Implemented Interfaces:
- java.lang.Cloneable
- public class DataSetCellConstant
- extends DataSetCellBase
DataSet type Constant. It is used in Templates that have a combination of text and dynamic data. Note when a Type is
not specifically mentioned the default will be "Constant".
Assuming column 1 had the value Steve and Column 2 had the value Souza, the following Template Tag would
result in "Souza, Steve"
<!-- BODY_CELL_DATA -->##2, ##1<!-- BODY_CELL_DATA -->
View Code
|
Method Summary |
DataSet |
createFactoryInstance()
Factory method |
java.lang.Object |
execute()
This function should be implemented in DataSetDecorator class for the client program to call to get the process
started. |
void |
execute(int y)
Replace the constant with runtime template tag vairables and append this result to the buffer text stream |
| Methods inherited from class com.fdsapi.DataSet |
clone, createFactoryInstance, getCellData, getDataSetParm, getMiscDataMap, getStringBuffer, getTabularData, getTemplateVariables, getVariableValue, initialize, log, next, setDataSetParm, toString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DataSetCellConstant
protected DataSetCellConstant()
createFactoryInstance
public DataSet createFactoryInstance()
- Factory method
- Specified by:
createFactoryInstance in class DataSet
execute
public void execute(int y)
- Replace the constant with runtime template tag vairables and append this result to the buffer text stream
- Specified by:
execute in class DataSet
execute
public java.lang.Object execute()
- Description copied from class:
DataSet
- This function should be implemented in DataSetDecorator class for the client program to call to get the process
started. After the first call the execute(int) method will be called.
- Overrides:
execute in class DataSet