org.test4j.json.decoder.single
类 BooleanDecoder

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

public class BooleanDecoder
extends FixedTypeDecoder


字段摘要
static BooleanDecoder toBOOLEAN
           
 
构造方法摘要
BooleanDecoder()
           
 
方法摘要
 boolean accept(Type type)
          是否接受是该类型json解码器
protected  Boolean decodeFromString(String value)
           
static boolean toBoolean(String value)
          将字符串转为布尔值
 
从类 org.test4j.json.decoder.base.FixedTypeDecoder 继承的方法
decode, decodeFromJSONMap, decodeFromJSONSingle
 
从类 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
 

字段详细信息

toBOOLEAN

public static final BooleanDecoder toBOOLEAN
构造方法详细信息

BooleanDecoder

public BooleanDecoder()
方法详细信息

decodeFromString

protected Boolean decodeFromString(String value)
指定者:
FixedTypeDecoder 中的 decodeFromString

toBoolean

public static boolean toBoolean(String value)
将字符串转为布尔值

参数:
value -
返回:

accept

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

返回:


Copyright © 2013. All rights reserved.