Public Member Functions

org.exolab.castor.xml.handlers.DefaultFieldHandlerFactory Class Reference

Inheritance diagram for org.exolab.castor.xml.handlers.DefaultFieldHandlerFactory:
org.exolab.castor.mapping.FieldHandlerFactory

List of all members.

Public Member Functions

Class[] getSupportedTypes ()
boolean isSupportedType (Class type)
GeneralizedFieldHandler createFieldHandler (Class type) throws MappingException

Detailed Description

The default FieldHandlerFactory implementation

Author:
Keith Visco
Version:
Revision:
1.1
Date:
2004/04/09 04:44:47

Member Function Documentation

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.

Parameters:
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.

Returns:
an array of supported Class types.

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.

Parameters:
type the Class type to determine support for.
Returns:
true if the given Class type is supported.

Implements org.exolab.castor.mapping.FieldHandlerFactory.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties