类 SwitchingMorpher
java.lang.Object
com.sh.json.ezmorph.object.SwitchingMorpher
- 所有已实现的接口:
Morpher,ObjectMorpher
An all-purpose Morpher that can morph to several classes.
Because this Morpher accepts any class and morphs to Object it should not be added to a MorpherRegistry as it may be too generic for some cases and may result in unwanted transformations.
Because this Morpher accepts any class and morphs to Object it should not be added to a MorpherRegistry as it may be too generic for some cases and may result in unwanted transformations.
-
构造器详细资料
-
SwitchingMorpher
-
-
方法详细资料
-
equals
-
hashCode
public int hashCode() -
morph
从接口复制的说明:ObjectMorpherMorphs the input object into an output object of the supported type.- 指定者:
morph在接口中ObjectMorpher- 参数:
value- The input value to be morphed
-
morphsTo
从接口复制的说明:MorpherReturns the target Class for conversion. -
supports
从接口复制的说明:MorpherReturns true if the Morpher supports conversion from this Class.
-