|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jxpath.JXPathBasicBeanInfo
An implementation of JXPathBeanInfo based on JavaBeans' BeanInfo. Properties advertised by JXPathBasicBeanInfo are the same as those advertised by BeanInfo for the corresponding class. See java.beans.BeanInfo, java.beans.Introspector
Field Summary | |
private boolean |
atomic
|
private java.lang.Class |
clazz
|
private java.lang.Class |
dynamicPropertyHandlerClass
|
private java.beans.PropertyDescriptor[] |
propertyDescriptors
|
private java.lang.String[] |
propertyNames
|
Constructor Summary | |
JXPathBasicBeanInfo(java.lang.Class clazz)
|
|
JXPathBasicBeanInfo(java.lang.Class clazz,
boolean atomic)
|
|
JXPathBasicBeanInfo(java.lang.Class clazz,
java.lang.Class dynamicPropertyHandlerClass)
|
Method Summary | |
java.lang.Class |
getDynamicPropertyHandlerClass()
For a dynamic class, returns the corresponding DynamicPropertyHandler class. |
java.beans.PropertyDescriptor |
getPropertyDescriptor(java.lang.String propertyName)
Returns a PropertyDescriptor for the specified name or null if there is no such property. |
java.beans.PropertyDescriptor[] |
getPropertyDescriptors()
Returns a list of property descriptors for the beans described by this bean info object. |
boolean |
isAtomic()
Returns true if objects of this class are treated as atomic objects which have no properties of their own. |
boolean |
isDynamic()
Return true if the corresponding objects have dynamic properties. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private boolean atomic
private java.lang.Class clazz
private java.beans.PropertyDescriptor[] propertyDescriptors
private java.lang.String[] propertyNames
private java.lang.Class dynamicPropertyHandlerClass
Constructor Detail |
public JXPathBasicBeanInfo(java.lang.Class clazz)
public JXPathBasicBeanInfo(java.lang.Class clazz, boolean atomic)
public JXPathBasicBeanInfo(java.lang.Class clazz, java.lang.Class dynamicPropertyHandlerClass)
Method Detail |
public boolean isAtomic()
isAtomic
in interface JXPathBeanInfo
public boolean isDynamic()
isDynamic
in interface JXPathBeanInfo
public java.beans.PropertyDescriptor[] getPropertyDescriptors()
JXPathBeanInfo
getPropertyDescriptors
in interface JXPathBeanInfo
public java.beans.PropertyDescriptor getPropertyDescriptor(java.lang.String propertyName)
JXPathBeanInfo
getPropertyDescriptor
in interface JXPathBeanInfo
public java.lang.Class getDynamicPropertyHandlerClass()
getDynamicPropertyHandlerClass
in interface JXPathBeanInfo
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |