|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.exolab.castor.mapping.FieldHandlerFactory
org.exolab.castor.xml.handlers.DefaultFieldHandlerFactory
The default FieldHandlerFactory implementation. Used by the Introspector. This implementation only supports java.sql.Time and java.sql.Timestamp.
| Constructor Summary | |
DefaultFieldHandlerFactory()
|
|
| Method Summary | |
GeneralizedFieldHandler |
createFieldHandler(java.lang.Class type)
Creates a GeneralizedFieldHandler for the given class type. |
java.lang.Class[] |
getSupportedTypes()
Returns an array of the supported Class types for this FieldHandlerFactory. |
boolean |
isSupportedType(java.lang.Class type)
Returns true if the given Class type is supported by this FieldHandlerFactory. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultFieldHandlerFactory()
| Method Detail |
public java.lang.Class[] getSupportedTypes()
getSupportedTypes in class FieldHandlerFactorypublic boolean isSupportedType(java.lang.Class type)
createFieldHandler(java.lang.Class) will return a valid FieldHandler. If the type
is not supported, a call to createFieldHandler may return null or throw a
MappingException.
isSupportedType in class FieldHandlerFactorytype - the Class type to determine support for.
public GeneralizedFieldHandler createFieldHandler(java.lang.Class type)
throws MappingException
createFieldHandler in class FieldHandlerFactorytype - the Class type to create the FieldHandler for.
MappingException - if a valueOf method cannot be found.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||