|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jsefa.common.converter.SimpleTypeConverterConfiguration
public final class SimpleTypeConverterConfiguration
A configuration for a simple type converter.
Field Summary | |
---|---|
static SimpleTypeConverterConfiguration |
EMPTY
The empty configuration. |
Method Summary | ||
---|---|---|
static SimpleTypeConverterConfiguration |
create(Class<?> objectType,
String[] format)
Constructs a new SimpleTypeConverterConfiguration . |
|
static SimpleTypeConverterConfiguration |
create(Class<?> objectType,
String[] format,
SimpleTypeConverter itemTypeConverter)
Constructs a new SimpleTypeConverterConfiguration . |
|
String[] |
getFormat()
Returns the format the converter shall be initialized with. |
|
SimpleTypeConverter |
getItemTypeConverter()
Returns the item type converter. |
|
|
getObjectType()
/** Returns the object type the converter is intended for. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final SimpleTypeConverterConfiguration EMPTY
Method Detail |
---|
public static SimpleTypeConverterConfiguration create(Class<?> objectType, String[] format)
SimpleTypeConverterConfiguration
.
objectType
- the object type the converter is intended forformat
- the format the converter shall be initialized with
public static SimpleTypeConverterConfiguration create(Class<?> objectType, String[] format, SimpleTypeConverter itemTypeConverter)
SimpleTypeConverterConfiguration
.
objectType
- the object type the converter is intended forformat
- the format the converter shall be initialized withitemTypeConverter
- the item type converter
public <T> Class<T> getObjectType()
T
- the expected type
public String[] getFormat()
public SimpleTypeConverter getItemTypeConverter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |