BeanIO 1.2.3

org.beanio.types
Interface ConfigurableTypeHandler

All Superinterfaces:
TypeHandler
All Known Implementing Classes:
AbstractXmlDateTypeHandler, BigDecimalTypeHandler, BigIntegerTypeHandler, ByteTypeHandler, DateTypeHandler, DoubleTypeHandler, FloatTypeHandler, IntegerTypeHandler, LongTypeHandler, NumberTypeHandler, ShortTypeHandler, XmlDateTimeTypeHandler, XmlDateTypeHandler, XmlTimeTypeHandler

public interface ConfigurableTypeHandler
extends TypeHandler

Interface for type handlers that support field specific customization. When a type handler is registered that implements this interface, the TypeHandlerFactory invokes newInstance(Properties) if any type handler field properties were set.

Since:
1.0
Author:
Kevin Seim

Field Summary
static String FORMAT_SETTING
          The field format pattern
 
Fields inherited from interface org.beanio.types.TypeHandler
NIL
 
Method Summary
 TypeHandler newInstance(Properties properties)
          Creates a customized instance of this type handler.
 
Methods inherited from interface org.beanio.types.TypeHandler
format, getType, parse
 

Field Detail

FORMAT_SETTING

static final String FORMAT_SETTING
The field format pattern

See Also:
Constant Field Values
Method Detail

newInstance

TypeHandler newInstance(Properties properties)
                        throws IllegalArgumentException
Creates a customized instance of this type handler.

Parameters:
properties - the properties for customizing the instance
Returns:
the new TypeHandler
Throws:
IllegalArgumentException - if a property value is invalid

BeanIO 1.2.3

Copyright © 2010-2012 Kevin Seim