org.mule.module.json.transformers
Class JsonCustomTransformerWithMixins

java.lang.Object
  extended by org.mule.module.json.transformers.JsonCustomTransformerWithMixins

@ContainsTransformerMethods
public class JsonCustomTransformerWithMixins
extends java.lang.Object


Constructor Summary
JsonCustomTransformerWithMixins()
           
 
Method Summary
 java.lang.String fromApple(Apple apple)
           
 void init()
           
 Apple toApple(java.lang.String in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonCustomTransformerWithMixins

public JsonCustomTransformerWithMixins()
Method Detail

init

@PostConstruct
public void init()

toApple

@Transformer(sourceTypes={java.io.InputStream.class,byte[].class})
public Apple toApple(java.lang.String in)
              throws java.io.IOException
Throws:
java.io.IOException

fromApple

@Transformer
public java.lang.String fromApple(Apple apple)
                           throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.