org.test4j.json.decoder
类 MapDecoder

java.lang.Object
  继承者 org.test4j.json.decoder.base.BaseDecoder
      继承者 org.test4j.json.decoder.base.MapPoJoBaseDecoder<Map>
          继承者 org.test4j.json.decoder.MapDecoder
所有已实现的接口:
IDecoder

public class MapDecoder
extends MapPoJoBaseDecoder<Map>


字段摘要
static MapDecoder toMAP
           
 
构造方法摘要
MapDecoder()
           
 
方法摘要
 boolean accept(Type type)
          Map类型或者没有指定PoJo类型的Object
protected  Map getTarget(JSONMap map, Type toType)
           
protected  void parseFromJSONMap(Map target, JSONMap jsonMap, Map<String,Object> references)
          解析jsonMap属性,填充target对象的值
 
从类 org.test4j.json.decoder.base.MapPoJoBaseDecoder 继承的方法
decode, getTargetType
 
从类 org.test4j.json.decoder.base.BaseDecoder 继承的方法
getArgType, getError, getError, getRawType, isInterfaceOrAbstract, newInstance
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

toMAP

public static final MapDecoder toMAP
构造方法详细信息

MapDecoder

public MapDecoder()
方法详细信息

parseFromJSONMap

protected void parseFromJSONMap(Map target,
                                JSONMap jsonMap,
                                Map<String,Object> references)
从类 MapPoJoBaseDecoder 复制的描述
解析jsonMap属性,填充target对象的值

指定者:
MapPoJoBaseDecoder<Map> 中的 parseFromJSONMap

getTarget

protected Map getTarget(JSONMap map,
                        Type toType)
指定者:
MapPoJoBaseDecoder<Map> 中的 getTarget

accept

public boolean accept(Type type)
Map类型或者没有指定PoJo类型的Object

返回:


Copyright © 2013. All rights reserved.