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