org.exolab.castor.mapping.handlers
public class EnumFieldHandler extends GeneralizedFieldHandler
Version: $Revision: 1.3 $ $Date: 2005/05/02 20:58:58 $
| Constructor Summary | |
|---|---|
| EnumFieldHandler(Class enumType, FieldHandler handler, Method createMethod)
Creates a new EnumFieldHandler with the given type and
FieldHandler
| |
| Method Summary | |
|---|---|
| Object | convertUponGet(Object value) |
| Object | convertUponSet(Object value) |
| boolean | equals(Object obj)
Returns true if the given object is an XMLFieldHandler that
is equivalent to the delegated handler. |
| Class | getFieldType() |
| Object | newInstance(Object parent) |
| Object | newInstance(Object parent, Object[] args) |
Parameters: enumType the Class type of the described field handler the FieldHandler to delegate to
Returns: true if the given object is an XMLFieldHandler that is equivalent to this one.