T
- the mapped typepublic abstract class MetaMapper<T> extends Object
Constructor and Description |
---|
MetaMapper() |
Modifier and Type | Method and Description |
---|---|
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
|
public static final MetaMapper<?> getMetaMapper(org.jboss.reflect.spi.TypeInfo typeInfo)
typeInfo
- the type infopublic Type mapToType()
public MetaType getMetaType()
public abstract MetaValue createMetaValue(MetaType metaType, T object)
metaType
- the metatypeobject
- the objectCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.