com.hmsonline.json.transformer
Class JsonRuleList

java.lang.Object
  extended by com.hmsonline.json.transformer.JsonRuleList
All Implemented Interfaces:
JsonTransformer

public class JsonRuleList
extends Object
implements JsonTransformer

Chain of JsonRules

Author:
baotran

Constructor Summary
JsonRuleList()
           
 
Method Summary
 void addRule(JsonRule rule)
           
 void transform(org.json.simple.JSONObject parent, Object targetKey)
           
 void transform(Object root)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonRuleList

public JsonRuleList()
Method Detail

addRule

public void addRule(JsonRule rule)

transform

public void transform(org.json.simple.JSONObject parent,
                      Object targetKey)
Specified by:
transform in interface JsonTransformer

transform

public void transform(Object root)
Specified by:
transform in interface JsonTransformer


Copyright © 2013. All Rights Reserved.