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
FORMAT_SETTING
static final String FORMAT_SETTING
- The field format pattern
- See Also:
- Constant Field Values
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
Copyright © 2010-2013 Kevin Seim