Public Member Functions | |
Class[] | getSupportedTypes () |
boolean | isSupportedType (Class type) |
GeneralizedFieldHandler | createFieldHandler (Class type) throws MappingException |
The default FieldHandlerFactory implementation
GeneralizedFieldHandler org.exolab.castor.xml.handlers.DefaultFieldHandlerFactory.createFieldHandler | ( | Class | type | ) | throws MappingException [virtual] |
Creates a GeneralizedFieldHandler for the given class type. The method should return a new GeneralizedFieldHandler as an "underlying" FieldHandler will need to be set by the caller.
type | the Class type to create the FieldHandler for. |
Implements org.exolab.castor.mapping.FieldHandlerFactory.
Class [] org.exolab.castor.xml.handlers.DefaultFieldHandlerFactory.getSupportedTypes | ( | ) | [virtual] |
Returns an array of the supported Class types for this FieldHandlerFactory. The array may be empty, but must not be null.
Implements org.exolab.castor.mapping.FieldHandlerFactory.
boolean org.exolab.castor.xml.handlers.DefaultFieldHandlerFactory.isSupportedType | ( | Class | type | ) | [virtual] |
Returns true if the given Class type is supported by this FieldHandlerFactory. If the type is supported, a call to createFieldHandler will return a valid FieldHandler. If the type is not supported, a call to createFieldHandler may return null or throw a MappingException.
type | the Class type to determine support for. |
Implements org.exolab.castor.mapping.FieldHandlerFactory.