|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TypeMapper
Used to for mapping types to and from objects.
| Method Summary | |
|---|---|
Object |
getObject(Class type)
Gets the object for the given type. |
Object |
getObject(Class type,
String value)
Gets the object for the given type optionally using the value on the returned object. |
String |
getStringValue(Object object)
Gets the appropriate string value of the given object. |
boolean |
isSimpleType(Class type)
Indicates whether or not the given type is considered "simple". |
| Method Detail |
|---|
Object getObject(Class type)
type - the type from which to construct the object.
Object getObject(Class type,
String value)
type - the type to constructvalue - the optional value used to construct or retrieve the object.
String getStringValue(Object object)
object.
object - the object to convert to a string.
boolean isSimpleType(Class type)
type - the type to consider.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||