flexjson.transformer
Class TransformerWrapper

java.lang.Object
  extended by flexjson.transformer.AbstractTransformer
      extended by flexjson.transformer.TransformerWrapper
All Implemented Interfaces:
Inline, Transformer

public class TransformerWrapper
extends AbstractTransformer

This class quietly wraps all transformers so that FlexJSON can perform certain functionality consistently across all transformers.


Field Summary
protected  Boolean isInterceptorTransformer
           
protected  Transformer transformer
           
 
Constructor Summary
TransformerWrapper(Transformer transformer)
           
 
Method Summary
 Boolean isInline()
          CAUTION: THIS IS FOR ADVANCED FEATURES If you want your transformer to handle writing of the property name and the value have it implement this interface.
 void transform(Object object)
           
 
Methods inherited from class flexjson.transformer.AbstractTransformer
getContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transformer

protected Transformer transformer

isInterceptorTransformer

protected Boolean isInterceptorTransformer
Constructor Detail

TransformerWrapper

public TransformerWrapper(Transformer transformer)
Method Detail

transform

public void transform(Object object)

isInline

public Boolean isInline()
Description copied from interface: Inline
CAUTION: THIS IS FOR ADVANCED FEATURES If you want your transformer to handle writing of the property name and the value have it implement this interface. This will flag FlexJSON to not generate property names for this Transform.

Specified by:
isInline in interface Inline
Overrides:
isInline in class AbstractTransformer
Returns:


Copyright © 2014. All Rights Reserved.