Class BeanInfoManager
java.lang.Object
org.apache.taglibs.standard.lang.jstl.BeanInfoManager
Manages the BeanInfo for one class - contains the BeanInfo, and also a mapping from property name to BeanInfoProperty. There are also static methods for accessing the BeanInfoManager for a class - those mappings are cached permanently so that once the BeanInfoManager is calculated, it doesn't have to be calculated again.
- Version:
- $Change: 181181 $$DateTime: 2001/06/26 09:55:09 $$Author: kchung $
- Author:
- Nathan Abramson - Art Technology Group
-
Method Summary
Modifier and TypeMethodDescriptionClass<?>static BeanInfoIndexedPropertygetBeanInfoIndexedProperty(Class pClass, String pIndexedPropertyName, Logger pLogger) Returns the BeanInfoIndexedProperty for the specified property in the given class, or null if not found.static BeanInfoManagergetBeanInfoManager(Class<?> pClass) Returns the BeanInfoManager for the specified classstatic BeanInfoPropertygetBeanInfoProperty(Class<?> pClass, String pPropertyName, Logger pLogger) Returns the BeanInfoProperty for the specified property in the given class, or null if not found.getEventSet(String pEventSetName, Logger pLogger) Returns the EventSetDescriptor for the given event set name, or null if not found.getIndexedProperty(String pIndexedPropertyName, Logger pLogger) Returns the BeanInfoIndexedProperty for the given property name, or null if not found.getProperty(String pPropertyName, Logger pLogger) Returns the BeanInfoProperty for the given property name, or null if not found.
-
Method Details
-
getBeanClass
-
getBeanInfoManager
Returns the BeanInfoManager for the specified class -
getBeanInfoProperty
public static BeanInfoProperty getBeanInfoProperty(Class<?> pClass, String pPropertyName, Logger pLogger) throws ELException Returns the BeanInfoProperty for the specified property in the given class, or null if not found.- Throws:
ELException
-
getBeanInfoIndexedProperty
public static BeanInfoIndexedProperty getBeanInfoIndexedProperty(Class pClass, String pIndexedPropertyName, Logger pLogger) throws ELException Returns the BeanInfoIndexedProperty for the specified property in the given class, or null if not found.- Throws:
ELException
-
getProperty
Returns the BeanInfoProperty for the given property name, or null if not found.- Throws:
ELException
-
getIndexedProperty
public BeanInfoIndexedProperty getIndexedProperty(String pIndexedPropertyName, Logger pLogger) throws ELException Returns the BeanInfoIndexedProperty for the given property name, or null if not found.- Throws:
ELException
-
getEventSet
Returns the EventSetDescriptor for the given event set name, or null if not found.- Throws:
ELException
-