|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.jxpath.JXPathBasicBeanInfo
public class 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.
BeanInfo,
Introspector,
Serialized Form| Constructor Summary | |
|---|---|
JXPathBasicBeanInfo(Class clazz)
Create a new JXPathBasicBeanInfo. |
|
JXPathBasicBeanInfo(Class clazz,
boolean atomic)
Create a new JXPathBasicBeanInfo. |
|
JXPathBasicBeanInfo(Class clazz,
Class dynamicPropertyHandlerClass)
Create a new JXPathBasicBeanInfo. |
|
| Method Summary | |
|---|---|
Class |
getDynamicPropertyHandlerClass()
For a dynamic class, returns the corresponding DynamicPropertyHandler class. |
PropertyDescriptor |
getPropertyDescriptor(String propertyName)
Returns a PropertyDescriptor for the specified name or null if there is no such property. |
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. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JXPathBasicBeanInfo(Class clazz)
clazz - bean class
public JXPathBasicBeanInfo(Class clazz,
boolean atomic)
clazz - bean classatomic - whether objects of this class are treated as atomic
objects which have no properties of their own.
public JXPathBasicBeanInfo(Class clazz,
Class dynamicPropertyHandlerClass)
clazz - bean classdynamicPropertyHandlerClass - dynamic property handler class| Method Detail |
|---|
public boolean isAtomic()
isAtomic in interface JXPathBeanInfopublic boolean isDynamic()
isDynamic in interface JXPathBeanInfopublic PropertyDescriptor[] getPropertyDescriptors()
JXPathBeanInfo
getPropertyDescriptors in interface JXPathBeanInfopublic PropertyDescriptor getPropertyDescriptor(String propertyName)
JXPathBeanInfo
getPropertyDescriptor in interface JXPathBeanInfopropertyName - property name
public Class getDynamicPropertyHandlerClass()
getDynamicPropertyHandlerClass in interface JXPathBeanInfopublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||