public class JXPathBasicBeanInfo extends Object implements JXPathBeanInfo
BeanInfo,
Introspector,
Serialized Form| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
public JXPathBasicBeanInfo(Class clazz)
clazz - bean classpublic 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 boolean isAtomic()
isAtomic in interface JXPathBeanInfopublic boolean isDynamic()
isDynamic in interface JXPathBeanInfopublic PropertyDescriptor[] getPropertyDescriptors()
JXPathBeanInfogetPropertyDescriptors in interface JXPathBeanInfopublic PropertyDescriptor getPropertyDescriptor(String propertyName)
JXPathBeanInfogetPropertyDescriptor in interface JXPathBeanInfopropertyName - property namepublic Class getDynamicPropertyHandlerClass()
getDynamicPropertyHandlerClass in interface JXPathBeanInfoCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.