|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.context.IntegrationObjectSupport org.springframework.integration.transformer.AbstractTransformer org.springframework.integration.transformer.AbstractPayloadTransformer<java.lang.Object,java.lang.String> org.springframework.integration.json.ObjectToJsonTransformer
public class ObjectToJsonTransformer
Transformer implementation that converts a payload instance into a JSON string representation.
Field Summary |
---|
Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport |
---|
logger |
Constructor Summary | |
---|---|
ObjectToJsonTransformer()
|
|
ObjectToJsonTransformer(org.codehaus.jackson.map.ObjectMapper objectMapper)
|
Method Summary | |
---|---|
protected java.lang.String |
transformPayload(java.lang.Object payload)
|
Methods inherited from class org.springframework.integration.transformer.AbstractPayloadTransformer |
---|
doTransform |
Methods inherited from class org.springframework.integration.transformer.AbstractTransformer |
---|
transform |
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
---|
afterPropertiesSet, getBeanFactory, getComponentName, getComponentType, getConversionService, getTaskScheduler, onInit, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ObjectToJsonTransformer(org.codehaus.jackson.map.ObjectMapper objectMapper)
public ObjectToJsonTransformer()
Method Detail |
---|
protected java.lang.String transformPayload(java.lang.Object payload) throws java.lang.Exception
transformPayload
in class AbstractPayloadTransformer<java.lang.Object,java.lang.String>
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |