org.outerj.xreporter.report.definition
Class DataTypeValueFormatter
java.lang.Object
org.outerj.xreporter.report.definition.DataTypeValueFormatter
- All Implemented Interfaces:
- ValueFormatter
- public class DataTypeValueFormatter
- extends java.lang.Object
- implements ValueFormatter
Implementation of ValueFormatter (from the grouping package) that uses xReporter datatypes for formatting.
Method Summary |
java.lang.String |
format(java.lang.Object object,
java.util.Locale locale)
Formats an object to a string according to a certain Locale. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dataType
protected DataType dataType
resourceManager
protected ResourceManager resourceManager
DataTypeValueFormatter
public DataTypeValueFormatter(DataType dataType,
ResourceManager resourceManager)
format
public java.lang.String format(java.lang.Object object,
java.util.Locale locale)
- Description copied from interface:
ValueFormatter
- Formats an object to a string according to a certain Locale.
- Specified by:
format
in interface ValueFormatter