类 AbstractPrimitiveMorpher
java.lang.Object
com.sh.json.ezmorph.primitive.AbstractPrimitiveMorpher
- 所有已实现的接口:
Morpher
Base class for primitive value conversion.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanReturns if this morpher will use a default value if the value to be morphed is nullbooleanReturns true if the Morpher supports conversion from this Class.
Supports any type that is not an Array.
-
构造器详细资料
-
AbstractPrimitiveMorpher
public AbstractPrimitiveMorpher() -
AbstractPrimitiveMorpher
public AbstractPrimitiveMorpher(boolean useDefault) - 参数:
useDefault- if morph() should return a default value if the value to be morphed is null
-
-
方法详细资料
-
isUseDefault
public boolean isUseDefault()Returns if this morpher will use a default value if the value to be morphed is null -
supports
Returns true if the Morpher supports conversion from this Class.
Supports any type that is not an Array.
-