|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.domui.converter.MoneyConverterFactory
public class MoneyConverterFactory
Constructor Summary | |
---|---|
MoneyConverterFactory()
|
Method Summary | ||
---|---|---|
int |
accept(java.lang.Class<?> clz,
PropertyMetaModel<?> pmm)
This must decide whether to accept the class and property model pair. |
|
static IConverter<java.math.BigDecimal> |
createBigDecimalMoneyConverters(NumericPresentation np)
Returns one of the converter classes for converting a double into one of the numericPresentations. |
|
|
createConverter(java.lang.Class<X> clz,
PropertyMetaModel<X> pmm)
Create the appropriate converter. |
|
static IConverter<java.lang.Double> |
createDoubleMoneyConverters(NumericPresentation np)
Returns one of the converter classes for converting a double into one of the numericPresentations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MoneyConverterFactory()
Method Detail |
---|
public int accept(java.lang.Class<?> clz, PropertyMetaModel<?> pmm)
IConverterFactory
accept
in interface IConverterFactory
public static IConverter<java.lang.Double> createDoubleMoneyConverters(NumericPresentation np)
pmm
-
public static IConverter<java.math.BigDecimal> createBigDecimalMoneyConverters(NumericPresentation np)
pmm
-
public <X,T extends IConverter<X>> T createConverter(java.lang.Class<X> clz, PropertyMetaModel<X> pmm)
createConverter
in interface IConverterFactory
IConverterFactory.createConverter(java.lang.Class, to.etc.domui.component.meta.PropertyMetaModel)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |