flexjson.transformer
Class TransformerWrapper
java.lang.Object
flexjson.transformer.AbstractTransformer
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.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
transformer
protected Transformer transformer
isInterceptorTransformer
protected Boolean isInterceptorTransformer
TransformerWrapper
public TransformerWrapper(Transformer transformer)
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.