org.makumba.commons.formatters
Class RecordFormatter
java.lang.Object
org.makumba.commons.formatters.RecordFormatter
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- RecordEditor, RecordViewer
public class RecordFormatter
- extends Object
- implements Serializable
Generic formatter of Makumba data. Depending on the data type, calls specific formatters an applies them for each
field of a record.
- Version:
- $Id: RecordFormatter.java 5148 2010-05-18 18:56:03Z rosso_nero $
- Author:
- Cristian Bogdan, Rudolf Mayer
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dd
public DataDefinition dd
expr
public String[] expr
formatterArray
protected transient FieldFormatter[] formatterArray
isSearchForm
protected boolean isSearchForm
RecordFormatter
public RecordFormatter()
RecordFormatter
public RecordFormatter(DataDefinition dd,
Hashtable<String,String> names,
boolean isSearchForm,
Object formIdentifier)
applyParameters
protected String applyParameters(FieldFormatter ff,
Dictionary<String,Object> formatParams,
String s)
format
public String format(int i,
Object value,
Dictionary<String,Object> formatParams)
initFormatters
protected void initFormatters()
getFormIdentifier
public Object getFormIdentifier()