|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.metatype.spi.values.MetaMapper<T>
T - the mapped typepublic abstract class MetaMapper<T>
MetaMapper.
| Constructor Summary | |
|---|---|
MetaMapper()
|
|
| Method Summary | |
|---|---|
abstract MetaValue |
createMetaValue(MetaType metaType,
T object)
Create the meta value |
static MetaMapper<?> |
getMetaMapper(org.jboss.reflect.spi.TypeInfo typeInfo)
Get a metamapper for a type info |
MetaType |
getMetaType()
Override this method to create your own metatype |
Type |
mapToType()
Override this method to map to a specific type |
abstract T |
unwrapMetaValue(MetaValue metaValue)
Unwrap the metavalue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetaMapper()
| Method Detail |
|---|
public static final MetaMapper<?> getMetaMapper(org.jboss.reflect.spi.TypeInfo typeInfo)
typeInfo - the type info
public Type mapToType()
public MetaType getMetaType()
public abstract MetaValue createMetaValue(MetaType metaType,
T object)
metaType - the metatypeobject - the object
public abstract T unwrapMetaValue(MetaValue metaValue)
metaValue - the meta value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||