|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.domui.converter.DefaultConverterFactory
public final class DefaultConverterFactory
This is the default converter factory, which returns the default converter instance all of the time. FIXME Needed still?
Constructor Summary | |
---|---|
DefaultConverterFactory()
|
Method Summary | ||
---|---|---|
int |
accept(java.lang.Class<?> clz,
PropertyMetaModel<?> pmm)
Returns 1 all of the time: accepts everything. |
|
|
createConverter(java.lang.Class<X> clz,
PropertyMetaModel<X> pmm)
Return the converter which properly converts the specified class and meta model. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultConverterFactory()
Method Detail |
---|
public int accept(java.lang.Class<?> clz, PropertyMetaModel<?> pmm)
accept
in interface IConverterFactory
IConverterFactory.accept(java.lang.Class, to.etc.domui.component.meta.PropertyMetaModel)
public <X,T extends IConverter<X>> T createConverter(java.lang.Class<X> clz, PropertyMetaModel<X> pmm)
IConverterFactory
createConverter
in interface IConverterFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |