java.io.Serializable
, JXPathBeanInfo
public class JXPathBasicBeanInfo extends java.lang.Object implements JXPathBeanInfo
BeanInfo
,
Introspector
,
Serialized FormModifier and Type | Field | Description |
---|---|---|
private boolean |
atomic |
|
private java.lang.Class |
clazz |
|
private java.lang.Class |
dynamicPropertyHandlerClass |
|
private static java.util.Comparator |
PROPERTY_DESCRIPTOR_COMPARATOR |
|
private java.util.HashMap |
propertyDescriptorMap |
|
private java.beans.PropertyDescriptor[] |
propertyDescriptors |
|
private static long |
serialVersionUID |
Constructor | Description |
---|---|
JXPathBasicBeanInfo(java.lang.Class clazz) |
Create a new JXPathBasicBeanInfo.
|
JXPathBasicBeanInfo(java.lang.Class clazz,
boolean atomic) |
Create a new JXPathBasicBeanInfo.
|
JXPathBasicBeanInfo(java.lang.Class clazz,
java.lang.Class dynamicPropertyHandlerClass) |
Create a new JXPathBasicBeanInfo.
|
Modifier and Type | Method | Description |
---|---|---|
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() |
private static final long serialVersionUID
private static final java.util.Comparator PROPERTY_DESCRIPTOR_COMPARATOR
private boolean atomic
private java.lang.Class clazz
private java.lang.Class dynamicPropertyHandlerClass
private transient java.beans.PropertyDescriptor[] propertyDescriptors
private transient java.util.HashMap propertyDescriptorMap
public JXPathBasicBeanInfo(java.lang.Class clazz)
clazz
- bean classpublic JXPathBasicBeanInfo(java.lang.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(java.lang.Class clazz, java.lang.Class dynamicPropertyHandlerClass)
clazz
- bean classdynamicPropertyHandlerClass
- dynamic property handler classpublic 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
propertyName
- property namepublic java.lang.Class getDynamicPropertyHandlerClass()
getDynamicPropertyHandlerClass
in interface JXPathBeanInfo
public java.lang.String toString()
toString
in class java.lang.Object