public class DefaultFieldHandlerFactory extends FieldHandlerFactory
| Constructor and Description |
|---|
DefaultFieldHandlerFactory() |
| Modifier and Type | Method and Description |
|---|---|
GeneralizedFieldHandler |
createFieldHandler(Class type)
Creates a GeneralizedFieldHandler for the given class type.
|
Class[] |
getSupportedTypes()
Returns an array of the supported Class types for this FieldHandlerFactory.
|
boolean |
isSupportedType(Class type)
Returns true if the given Class type is supported by this FieldHandlerFactory.
|
public Class[] getSupportedTypes()
getSupportedTypes in class FieldHandlerFactorypublic boolean isSupportedType(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(Class type) throws MappingException
createFieldHandler in class FieldHandlerFactorytype - the Class type to create the FieldHandler for.MappingException - if a valueOf method cannot be found.Copyright © 2016. All rights reserved.