net.sf.json.util
Class EnumMorpher
java.lang.Object
net.sf.json.util.EnumMorpher
- All Implemented Interfaces:
- Morpher, ObjectMorpher
public class EnumMorpher
- extends Object
- implements ObjectMorpher
- Author:
- Andres Almiray
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnumMorpher
public EnumMorpher(Class enumClass)
morph
public Object morph(Object value)
- Specified by:
morph
in interface ObjectMorpher
morphsTo
public Class morphsTo()
- Specified by:
morphsTo
in interface Morpher
supports
public boolean supports(Class clazz)
- Specified by:
supports
in interface Morpher