atg.repository.search
Class MetaPropertiesTyper

java.lang.Object
  extended by atg.repository.search.MetaPropertiesTyper
All Implemented Interfaces:
DynamicBeanTyper

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.


Field Summary
static java.lang.String CLASS_VERSION
           
 
Constructor Summary
MetaPropertiesTyper()
           
 
Method Summary
 DynamicBeanInfo getBeanInfoFromType(java.lang.Object pBeanType)
          Create a DynamicBeanInfo for some Map serving as a type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Constructor Detail

MetaPropertiesTyper

public MetaPropertiesTyper()
Method Detail

getBeanInfoFromType

public DynamicBeanInfo getBeanInfoFromType(java.lang.Object pBeanType)
                                    throws java.beans.IntrospectionException
Create a DynamicBeanInfo for some Map serving as a type.

Specified by:
getBeanInfoFromType in interface DynamicBeanTyper
Parameters:
pBeanType - an object describing some set of beans
Returns:
the DynamicBeanInfo describing the beans.
Throws:
java.beans.IntrospectionException - if no information is available.