public class ConvertersApi extends java.lang.Object
The API for converting objects to target types such as XML.
| Type | Name and description |
|---|---|
java.lang.Object |
asType(java.lang.Object instance, java.lang.Class<?> clazz)Converter an instance from one format to another |
org.springframework.context.ApplicationContext |
getApplicationContext() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Converter an instance from one format to another
instance - The instanceclazz - The type to convert to