|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.metatype.spi.values.MetaMapper<ObjectName>
org.jboss.metatype.plugins.values.mappers.PropertiesObjectNameMetaMapper
public class PropertiesObjectNameMetaMapper
An ObjectName MetaMapper that maps to a PropertiesMetaType/PropertiesMetaValue.
Constructor Summary | |
---|---|
PropertiesObjectNameMetaMapper()
|
|
PropertiesObjectNameMetaMapper(String... args)
|
Method Summary | |
---|---|
MetaValue |
createMetaValue(MetaType metaType,
ObjectName object)
Create the meta value |
static ObjectName |
createObjectName(String domain,
PropertiesMetaValue props)
Create object name from PropertiesMetaValue. |
MetaType |
getMetaType()
Override this method to create your own metatype |
Type |
mapToType()
Override this method to map to a specific type |
ObjectName |
unwrapMetaValue(MetaValue metaValue)
Unwrap the metavalue |
Methods inherited from class org.jboss.metatype.spi.values.MetaMapper |
---|
getMetaMapper |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertiesObjectNameMetaMapper()
public PropertiesObjectNameMetaMapper(String... args)
Method Detail |
---|
public MetaType getMetaType()
MetaMapper
getMetaType
in class MetaMapper<ObjectName>
public Type mapToType()
MetaMapper
mapToType
in class MetaMapper<ObjectName>
public MetaValue createMetaValue(MetaType metaType, ObjectName object)
MetaMapper
createMetaValue
in class MetaMapper<ObjectName>
metaType
- the metatypeobject
- the object
public ObjectName unwrapMetaValue(MetaValue metaValue)
MetaMapper
unwrapMetaValue
in class MetaMapper<ObjectName>
metaValue
- the meta value
public static ObjectName createObjectName(String domain, PropertiesMetaValue props) throws MalformedObjectNameException
domain
- the domain nameprops
- the props
MalformedObjectNameException
- for any error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |