|
|||||||||
| Home >> All >> org >> apache >> commons >> [ jxpath overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.commons.jxpath
Class JXPathBasicBeanInfo

java.lang.Objectorg.apache.commons.jxpath.JXPathBasicBeanInfo
- All Implemented Interfaces:
- JXPathBeanInfo
- public class JXPathBasicBeanInfo
- extends java.lang.Object
- implements JXPathBeanInfo
- extends java.lang.Object
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
- Version:
- $Revision: 1.9 $ $Date: 2004/05/08 15:03:36 $
| 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()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
atomic
private boolean atomic
clazz
private java.lang.Class clazz
propertyDescriptors
private java.beans.PropertyDescriptor[] propertyDescriptors
propertyNames
private java.lang.String[] propertyNames
dynamicPropertyHandlerClass
private java.lang.Class dynamicPropertyHandlerClass
| Constructor Detail |
JXPathBasicBeanInfo
public JXPathBasicBeanInfo(java.lang.Class clazz)
JXPathBasicBeanInfo
public JXPathBasicBeanInfo(java.lang.Class clazz, boolean atomic)
JXPathBasicBeanInfo
public JXPathBasicBeanInfo(java.lang.Class clazz, java.lang.Class dynamicPropertyHandlerClass)
| Method Detail |
isAtomic
public boolean isAtomic()
- Returns true if objects of this class are treated as atomic
objects which have no properties of their own.
- Specified by:
isAtomicin interfaceJXPathBeanInfo
isDynamic
public boolean isDynamic()
- Return true if the corresponding objects have dynamic properties.
- Specified by:
isDynamicin interfaceJXPathBeanInfo
getPropertyDescriptors
public java.beans.PropertyDescriptor[] getPropertyDescriptors()
- Description copied from interface:
JXPathBeanInfo - Returns a list of property descriptors for the beans described by this
bean info object. Returns null for atomic beans.
- Specified by:
getPropertyDescriptorsin interfaceJXPathBeanInfo
getPropertyDescriptor
public java.beans.PropertyDescriptor getPropertyDescriptor(java.lang.String propertyName)
- Description copied from interface:
JXPathBeanInfo - Returns a PropertyDescriptor for the specified name or null if there
is no such property.
- Specified by:
getPropertyDescriptorin interfaceJXPathBeanInfo
getDynamicPropertyHandlerClass
public java.lang.Class getDynamicPropertyHandlerClass()
- For a dynamic class, returns the corresponding DynamicPropertyHandler
class.
- Specified by:
getDynamicPropertyHandlerClassin interfaceJXPathBeanInfo
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
|
|||||||||
| Home >> All >> org >> apache >> commons >> [ jxpath overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.apache.commons.jxpath.JXPathBasicBeanInfo