|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ConversionFactory | |
---|---|
org.apache.commons.convert | The main API for using the convert project. |
org.apache.commons.convert.conversion |
Implementations of Conversion and ConversionFactory . |
Uses of ConversionFactory in org.apache.commons.convert |
---|
Fields in org.apache.commons.convert declared as ConversionFactory | |
---|---|
protected ConversionFactory[] |
ConversionRegistry.iFactories
Array of conversion factories |
Methods in org.apache.commons.convert with parameters of type ConversionFactory | |
---|---|
void |
ConversionRegistry.addConversionFactory(ConversionFactory factory)
Adds a ConversionFactory to the set of known factories. |
Uses of ConversionFactory in org.apache.commons.convert.conversion |
---|
Classes in org.apache.commons.convert.conversion that implement ConversionFactory | |
---|---|
class |
AbstractConversionFactory
Abstract base class for creating conversion factories. |
class |
IdentityConversionFactory
Conversion from TimeZone to String using getID() . |
class |
NumberToIntegerConversionFactory
Conversion from Number to Integer using intValue() . |
class |
ObjectToStringConversionFactory
Conversion from Object to String using toString() . |
class |
TimeZoneToStringConversionFactory
Conversion from TimeZone to String using getID() . |
Fields in org.apache.commons.convert.conversion declared as ConversionFactory | |
---|---|
static ConversionFactory |
TimeZoneToStringConversionFactory.INSTANCE
Singleton instance of this factory |
static ConversionFactory |
ObjectToStringConversionFactory.INSTANCE
Singleton instance of this factory |
static ConversionFactory |
NumberToIntegerConversionFactory.INSTANCE
Singleton instance of this factory |
static ConversionFactory |
IdentityConversionFactory.INSTANCE
Singleton instance of this factory |
Methods in org.apache.commons.convert.conversion that return ConversionFactory | |
---|---|
static ConversionFactory |
DefaultValueDecorator.defaultException(ConversionFactory factory,
Object defaultValue)
Creates a ConversionFactory that decorates the original and adds behaviour to return a default value when the conversion throws an exception. |
static ConversionFactory |
DefaultValueDecorator.defaultNullAndException(ConversionFactory factory,
Object defaultValue)
Creates a ConversionFactory that decorates the original and adds behaviour to return a default value for null input, null result and when an exception occurs. |
static ConversionFactory |
DefaultValueDecorator.defaultNullInput(ConversionFactory factory,
Object defaultValue)
Creates a ConversionFactory that decorates the original and adds behaviour to return a default value when the conversion input is null. |
static ConversionFactory |
DefaultValueDecorator.defaultNullResult(ConversionFactory factory,
Object defaultValue)
Creates a ConversionFactory that decorates the original and adds behaviour to return a default value when the conversion results in null. |
Methods in org.apache.commons.convert.conversion with parameters of type ConversionFactory | |
---|---|
static ConversionFactory |
DefaultValueDecorator.defaultException(ConversionFactory factory,
Object defaultValue)
Creates a ConversionFactory that decorates the original and adds behaviour to return a default value when the conversion throws an exception. |
static ConversionFactory |
DefaultValueDecorator.defaultNullAndException(ConversionFactory factory,
Object defaultValue)
Creates a ConversionFactory that decorates the original and adds behaviour to return a default value for null input, null result and when an exception occurs. |
static ConversionFactory |
DefaultValueDecorator.defaultNullInput(ConversionFactory factory,
Object defaultValue)
Creates a ConversionFactory that decorates the original and adds behaviour to return a default value when the conversion input is null. |
static ConversionFactory |
DefaultValueDecorator.defaultNullResult(ConversionFactory factory,
Object defaultValue)
Creates a ConversionFactory that decorates the original and adds behaviour to return a default value when the conversion results in null. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |