org.test4j.json.decoder.single.spec
类 EnumDecoder

java.lang.Object
  继承者 org.test4j.json.decoder.base.BaseDecoder
      继承者 org.test4j.json.decoder.base.SpecTypeDecoder
          继承者 org.test4j.json.decoder.single.spec.EnumDecoder
所有已实现的接口:
IDecoder

public class EnumDecoder
extends SpecTypeDecoder


字段摘要
static EnumDecoder toENUM
           
 
构造方法摘要
EnumDecoder()
           
 
方法摘要
 boolean accept(Type type)
          是否接受是该类型json解码器
protected  Object decodeFromString(String value, Type type)
           
 
从类 org.test4j.json.decoder.base.SpecTypeDecoder 继承的方法
decode, fillTargetOtherProp
 
从类 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
 

字段详细信息

toENUM

public static final EnumDecoder toENUM
构造方法详细信息

EnumDecoder

public EnumDecoder()
方法详细信息

accept

public boolean accept(Type type)
从接口 IDecoder 复制的描述
是否接受是该类型json解码器

返回:

decodeFromString

protected Object decodeFromString(String value,
                                  Type type)
指定者:
SpecTypeDecoder 中的 decodeFromString


Copyright © 2013. All rights reserved.