| org.exolab.castor.mapping.GeneralizedFieldHandler org.exolab.castor.mapping.handlers.EnumFieldHandler
EnumFieldHandler | public class EnumFieldHandler extends GeneralizedFieldHandler (Code) | | A specialized FieldHandler for the type-safe enum
style classes.
Adapted from org.exolab.castor.xml.handlers.EnumFieldHandler
which is used for the generated source code.
author: Keith Visco version: $Revision: 6238 $ $Date: 2006-04-13 06:47:36 -0600 (Thu, 13 Apr 2006) $ |
EnumFieldHandler | public EnumFieldHandler(Class enumType, FieldHandler handler, Method createMethod)(Code) | | Creates a new EnumFieldHandler with the given type and
FieldHandler
Parameters: enumType - the Class type of the described field Parameters: handler - the FieldHandler to delegate to |
equals | public boolean equals(Object obj)(Code) | | Returns true if the given object is an XMLFieldHandler that
is equivalent to the delegated handler. An equivalent XMLFieldHandler
is an XMLFieldHandler that is an instances of the same class.
true if the given object is an XMLFieldHandler thatis equivalent to this one. |
|
|