public class DefaultFieldHandlerFactory extends FieldHandlerFactory
| Constructor and Description |
|---|
DefaultFieldHandlerFactory() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com