|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jxpath.JXPathIntrospector
JXPathIntrospector maintains a registry of JXPathBeanInfo
objects for Java classes.
Field Summary | |
private static java.util.HashMap |
byClass
|
private static java.util.HashMap |
byInterface
|
Constructor Summary | |
JXPathIntrospector()
|
Method Summary | |
private static JXPathBeanInfo |
findDynamicBeanInfo(java.lang.Class beanClass)
Find a dynamic bean info if available for any superclasses or interfaces. |
private static JXPathBeanInfo |
findInformant(java.lang.Class beanClass)
|
static JXPathBeanInfo |
getBeanInfo(java.lang.Class beanClass)
Creates and registers a JXPathBeanInfo object for the supplied class. |
private static java.lang.Object |
instantiate(java.lang.Class sibling,
java.lang.String className)
Try to create an instance of a named class. |
static void |
registerAtomicClass(java.lang.Class beanClass)
Automatically creates and registers a JXPathBeanInfo object for the specified class. |
static void |
registerDynamicClass(java.lang.Class beanClass,
java.lang.Class dynamicPropertyHandlerClass)
Automatically creates and registers a JXPathBeanInfo object for the specified class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static java.util.HashMap byClass
private static java.util.HashMap byInterface
Constructor Detail |
public JXPathIntrospector()
Method Detail |
public static void registerAtomicClass(java.lang.Class beanClass)
public static void registerDynamicClass(java.lang.Class beanClass, java.lang.Class dynamicPropertyHandlerClass)
public static JXPathBeanInfo getBeanInfo(java.lang.Class beanClass)
The process of creation of JXPathBeanInfo is as follows:
<beanClass>XBeanInfo
exists,
an instance of that class is allocated.
JXPathBasicBeanInfo
is allocated.
private static JXPathBeanInfo findDynamicBeanInfo(java.lang.Class beanClass)
private static JXPathBeanInfo findInformant(java.lang.Class beanClass)
private static java.lang.Object instantiate(java.lang.Class sibling, java.lang.String className) throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |