Package net.sf.json.util
Class EnumMorpher
- java.lang.Object
-
- net.sf.json.util.EnumMorpher
-
- All Implemented Interfaces:
net.sf.ezmorph.Morpher
,net.sf.ezmorph.ObjectMorpher
public class EnumMorpher extends Object implements net.sf.ezmorph.ObjectMorpher
- Author:
- Andres Almiray
-
-
Constructor Summary
Constructors Constructor Description EnumMorpher(Class enumClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
morph(Object value)
Class
morphsTo()
boolean
supports(Class clazz)
-
-
-
Constructor Detail
-
EnumMorpher
public EnumMorpher(Class enumClass)
-
-
Method Detail
-
morph
public Object morph(Object value)
- Specified by:
morph
in interfacenet.sf.ezmorph.ObjectMorpher
-
morphsTo
public Class morphsTo()
- Specified by:
morphsTo
in interfacenet.sf.ezmorph.Morpher
-
supports
public boolean supports(Class clazz)
- Specified by:
supports
in interfacenet.sf.ezmorph.Morpher
-
-