public class MetaPropertiesTyper extends java.lang.Object implements DynamicBeanTyper
This class is an implementation of DynamicBeanTyper that treats a java.util.Map of MetaProperty as a dynamic bean type, thus permitting a Map to reveal a quasi-BeanInfo through the DynamicBeanInfo interface. The list of properties reflects those entries currently in the map.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Constructor and Description |
---|
MetaPropertiesTyper() |
Modifier and Type | Method and Description |
---|---|
DynamicBeanInfo |
getBeanInfoFromType(java.lang.Object pBeanType)
Create a DynamicBeanInfo for some Map serving as a type.
|
public DynamicBeanInfo getBeanInfoFromType(java.lang.Object pBeanType) throws java.beans.IntrospectionException
getBeanInfoFromType
in interface DynamicBeanTyper
pBeanType
- an object describing some set of beansjava.beans.IntrospectionException
- if no information is available.