public interface IConverterProvider
Modifier and Type | Method and Description |
---|---|
IConverter<java.lang.Boolean> |
boolLong() |
IConverter<java.lang.Boolean> |
boolShort() |
IConverter<java.util.Date> |
date() |
IConverter<java.util.Date> |
date(java.text.DateFormat dateFormat,
java.lang.String formatHint) |
IConverter<java.util.Date> |
date(java.text.DateFormat dateFormat,
java.lang.String formatHint,
ITextMask mask) |
IConverter<java.util.Date> |
dateTime() |
IConverter<java.lang.Double> |
doubleNumber() |
IConverter<java.lang.Double> |
doubleNumber(java.text.DecimalFormat decimalFormat,
java.lang.String formatHint) |
IConverter<java.lang.Double> |
doubleNumber(int minFractionDigits,
int maxFractionDigits) |
<OBJECT_TYPE> |
getConverter(java.lang.Class<? extends OBJECT_TYPE> type)
Generic method to get an converter for an type.
|
<OBJECT_TYPE> |
getObjectLabelConverter(java.lang.Class<? extends OBJECT_TYPE> type) |
<OBJECT_TYPE> |
getObjectStringConverter(java.lang.Class<? extends OBJECT_TYPE> type) |
<OBJECT_TYPE> |
getStringObjectConverter(java.lang.Class<? extends OBJECT_TYPE> type) |
IConverter<java.lang.Integer> |
integerNumber() |
IConverter<java.lang.Long> |
longNumber() |
<OBJECT_TYPE> |
mapConverter(java.util.Map<? extends OBJECT_TYPE,java.lang.String> objectToString,
java.util.Map<java.lang.String,? extends OBJECT_TYPE> stringToObject,
java.lang.String hint) |
<OBJECT_TYPE> |
mapConverter(java.util.Map<OBJECT_TYPE,java.lang.String> objectToString) |
IObjectStringConverter<java.lang.String> |
passwordPresentationConverter() |
<OBJECT_TYPE> |
register(java.lang.Class<? extends OBJECT_TYPE> type,
IConverter<OBJECT_TYPE> converter) |
<OBJECT_TYPE> |
register(java.util.Locale locale,
java.lang.Class<? extends OBJECT_TYPE> type,
IConverter<OBJECT_TYPE> converter) |
void |
registerDefaultBooleanLongConverter(java.util.Locale locale,
IConverter<java.lang.Boolean> converter) |
void |
registerDefaultBooleanShortConverter(java.util.Locale locale,
IConverter<java.lang.Boolean> converter) |
void |
registerDefaultDateConverter(java.util.Locale locale,
IConverter<java.util.Date> converter) |
void |
registerDefaultDateTimeConverter(java.util.Locale locale,
IConverter<java.util.Date> converter) |
void |
registerDefaultTimeConverter(java.util.Locale locale,
IConverter<java.util.Date> converter) |
IConverter<java.lang.Short> |
shortNumber() |
IConverter<java.lang.String> |
string() |
IConverter<java.util.Date> |
time() |
<OBJECT_TYPE> |
toStringConverter() |
IObjectStringConverter<IUnit> |
unitConverter() |
<BASE_VALUE_TYPE,UNIT_VALUE_TYPE> |
unitValueConverter(IUnitConverter<BASE_VALUE_TYPE,UNIT_VALUE_TYPE> unitConverter,
java.lang.Class<? extends UNIT_VALUE_TYPE> unitValueType) |
<BASE_VALUE_TYPE,UNIT_VALUE_TYPE> |
unitValueConverter(IUnitConverter<BASE_VALUE_TYPE,UNIT_VALUE_TYPE> unitConverter,
IObjectStringConverter<UNIT_VALUE_TYPE> unitValueConverter) |
<OBJECT_TYPE> IConverter<OBJECT_TYPE> getConverter(java.lang.Class<? extends OBJECT_TYPE> type)
OBJECT_TYPE
- The type of the object to get the converter fortype
- the class to get the converter for<OBJECT_TYPE> IObjectStringConverter<OBJECT_TYPE> getObjectStringConverter(java.lang.Class<? extends OBJECT_TYPE> type)
<OBJECT_TYPE> IObjectLabelConverter<OBJECT_TYPE> getObjectLabelConverter(java.lang.Class<? extends OBJECT_TYPE> type)
<OBJECT_TYPE> IStringObjectConverter<OBJECT_TYPE> getStringObjectConverter(java.lang.Class<? extends OBJECT_TYPE> type)
<OBJECT_TYPE> IObjectStringConverter<OBJECT_TYPE> toStringConverter()
IObjectStringConverter<java.lang.String> passwordPresentationConverter()
<BASE_VALUE_TYPE,UNIT_VALUE_TYPE> IObjectStringConverter<BASE_VALUE_TYPE> unitValueConverter(IUnitConverter<BASE_VALUE_TYPE,UNIT_VALUE_TYPE> unitConverter, java.lang.Class<? extends UNIT_VALUE_TYPE> unitValueType)
<BASE_VALUE_TYPE,UNIT_VALUE_TYPE> IObjectStringConverter<BASE_VALUE_TYPE> unitValueConverter(IUnitConverter<BASE_VALUE_TYPE,UNIT_VALUE_TYPE> unitConverter, IObjectStringConverter<UNIT_VALUE_TYPE> unitValueConverter)
IObjectStringConverter<IUnit> unitConverter()
<OBJECT_TYPE> IConverter<OBJECT_TYPE> mapConverter(java.util.Map<? extends OBJECT_TYPE,java.lang.String> objectToString, java.util.Map<java.lang.String,? extends OBJECT_TYPE> stringToObject, java.lang.String hint)
<OBJECT_TYPE> IObjectStringConverter<OBJECT_TYPE> mapConverter(java.util.Map<OBJECT_TYPE,java.lang.String> objectToString)
IConverter<java.lang.String> string()
IConverter<java.lang.Long> longNumber()
IConverter<java.lang.Integer> integerNumber()
IConverter<java.lang.Short> shortNumber()
IConverter<java.lang.Boolean> boolLong()
IConverter<java.lang.Boolean> boolShort()
IConverter<java.lang.Double> doubleNumber()
IConverter<java.lang.Double> doubleNumber(int minFractionDigits, int maxFractionDigits)
IConverter<java.lang.Double> doubleNumber(java.text.DecimalFormat decimalFormat, java.lang.String formatHint)
IConverter<java.util.Date> date(java.text.DateFormat dateFormat, java.lang.String formatHint, ITextMask mask)
IConverter<java.util.Date> date(java.text.DateFormat dateFormat, java.lang.String formatHint)
IConverter<java.util.Date> date()
IConverter<java.util.Date> dateTime()
IConverter<java.util.Date> time()
<OBJECT_TYPE> void register(java.util.Locale locale, java.lang.Class<? extends OBJECT_TYPE> type, IConverter<OBJECT_TYPE> converter)
<OBJECT_TYPE> void register(java.lang.Class<? extends OBJECT_TYPE> type, IConverter<OBJECT_TYPE> converter)
void registerDefaultDateConverter(java.util.Locale locale, IConverter<java.util.Date> converter)
void registerDefaultTimeConverter(java.util.Locale locale, IConverter<java.util.Date> converter)
void registerDefaultDateTimeConverter(java.util.Locale locale, IConverter<java.util.Date> converter)
void registerDefaultBooleanLongConverter(java.util.Locale locale, IConverter<java.lang.Boolean> converter)
void registerDefaultBooleanShortConverter(java.util.Locale locale, IConverter<java.lang.Boolean> converter)
Siehe auch Jowidgets Nutzerhandbuch