public class JXPathIntrospector extends Object
JXPathBeanInfo
objects for Java classes.Constructor and Description |
---|
JXPathIntrospector() |
Modifier and Type | Method and Description |
---|---|
static JXPathBeanInfo |
getBeanInfo(Class beanClass)
Creates and registers a JXPathBeanInfo object for the supplied class.
|
static void |
registerAtomicClass(Class beanClass)
Automatically creates and registers a JXPathBeanInfo object
for the specified class.
|
static void |
registerDynamicClass(Class beanClass,
Class dynamicPropertyHandlerClass)
Automatically creates and registers a
JXPathBeanInfo object
for the specified class. |
public JXPathIntrospector()
public static void registerAtomicClass(Class beanClass)
beanClass
- to registerpublic static void registerDynamicClass(Class beanClass, Class dynamicPropertyHandlerClass)
JXPathBeanInfo
object
for the specified class. That object returns true to
JXPathBeanInfo.isDynamic()
.beanClass
- to registerdynamicPropertyHandlerClass
- to handle beanClasspublic static JXPathBeanInfo getBeanInfo(Class beanClass)
The process of creation of JXPathBeanInfo is as follows:
<beanClass>XBeanInfo
exists,
an instance of that class is allocated.
JXPathBasicBeanInfo
is allocated.
beanClass
- whose info to getCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.