net.sf.dynamicreports.report.base.datatype
Class AbstractDataType<U,T extends U>
java.lang.Object
net.sf.dynamicreports.report.base.datatype.AbstractDataType<U,T>
- All Implemented Interfaces:
- Serializable, DRIDataType<U,T>
- Direct Known Subclasses:
- BooleanType, DateType, DRDataType, CharacterType, ListType, NumberType, StringType
public abstract class AbstractDataType<U,T extends U>
- extends Object
- implements DRIDataType<U,T>
- Author:
- Ricardo Mariaca (r.mariaca@dynamicreports.org)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDataType
public AbstractDataType()
getPattern
public String getPattern()
- Specified by:
getPattern
in interface DRIDataType<U,T extends U>
getValueFormatter
public DRIValueFormatter<?,? extends U> getValueFormatter()
- Specified by:
getValueFormatter
in interface DRIDataType<U,T extends U>
getHorizontalAlignment
public HorizontalAlignment getHorizontalAlignment()
- Specified by:
getHorizontalAlignment
in interface DRIDataType<U,T extends U>
valueToString
public String valueToString(U value,
Locale locale)
- Specified by:
valueToString
in interface DRIDataType<U,T extends U>
valueToString
public String valueToString(DRIValue<? extends U> value,
ReportParameters reportParameters)
- Specified by:
valueToString
in interface DRIDataType<U,T extends U>
valueToString
public String valueToString(String name,
ReportParameters reportParameters)
- Specified by:
valueToString
in interface DRIDataType<U,T extends U>
stringToValue
public T stringToValue(String value,
Locale locale)
throws DRException
- Specified by:
stringToValue
in interface DRIDataType<U,T extends U>
- Throws:
DRException
stringToValue
public T stringToValue(DRIValue<String> value,
ReportParameters reportParameters)
throws DRException
- Specified by:
stringToValue
in interface DRIDataType<U,T extends U>
- Throws:
DRException
stringToValue
public T stringToValue(String name,
ReportParameters reportParameters)
throws DRException
- Specified by:
stringToValue
in interface DRIDataType<U,T extends U>
- Throws:
DRException
getValueClass
public Class<T> getValueClass()
- Specified by:
getValueClass
in interface DRIDataType<U,T extends U>
Copyright © 2010-2014. All Rights Reserved.