|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.andromda.cartridges.support.webservice.client.DefaultTypeMapper
public class DefaultTypeMapper
The default TypeMapper implementation.
| Constructor Summary | |
|---|---|
DefaultTypeMapper()
|
|
| 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". |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultTypeMapper()
| Method Detail |
|---|
public Object getObject(Class type)
TypeMapper
getObject in interface TypeMappertype - the type from which to construct the object.
TypeMapper.getObject(Class)
public Object getObject(Class type,
String value)
TypeMapper
getObject in interface TypeMappertype - the type to constructvalue - the optional value used to construct or retrieve the object.
TypeMapper.getObject(Class, String)public String getStringValue(Object object)
TypeMapperobject.
getStringValue in interface TypeMapperobject - the object to convert to a string.
TypeMapper.getStringValue(Object)public boolean isSimpleType(Class type)
TypeMapper
isSimpleType in interface TypeMappertype - the type to consider.
TypeMapper.isSimpleType(Class)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||