|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.properties.internal.DefaultConverterManager
@Component @Singleton public class DefaultConverterManager
Default implementation for ConverterManager.
It try to find a Converter for the provided target type. If it can't find:
Enum, it use the Converter with component hint "enum"Converter (which is based on ConvertUtils by
default)
| Constructor Summary | |
|---|---|
DefaultConverterManager()
|
|
| Method Summary | ||
|---|---|---|
|
convert(java.lang.reflect.Type targetType,
java.lang.Object value)
Convert provided value into the provided target type. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultConverterManager()
| Method Detail |
|---|
public <T> T convert(java.lang.reflect.Type targetType,
java.lang.Object value)
convert in interface ConverterManagerT - the type in which the provided value has to be convertedtargetType - the type in which the provided value has to be convertedvalue - the value to convert
ConverterManager.convert(java.lang.reflect.Type, java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||