Package | Description |
---|---|
org.apache.commons.betwixt |
This package contains the main betwixt introspection code.
|
org.apache.commons.betwixt.digester |
This package contains the Digester and associated rules and helper classes
for parsing the XMLBeanInfo metadata from an XML file format.
|
org.apache.commons.betwixt.registry |
This package contains various plugins that can be used with
XMLIntrospector
to customize it's caching behaviour (or programmatically modify the XmlBeanInfo finding). |
Modifier and Type | Method and Description |
---|---|
protected XMLBeanInfo |
XMLIntrospector.createXMLBeanInfo(BeanInfo beanInfo)
Factory method to create XMLBeanInfo instances
|
protected XMLBeanInfo |
XMLIntrospector.findByXMLDescriptor(Class aClass)
Attempt to lookup the XML descriptor for the given class using the
classname + ".betwixt" using the same ClassLoader used to load the class
or return null if it could not be loaded
|
XMLBeanInfo |
XMLIntrospector.introspect(BeanInfo beanInfo)
Create a standard
XMLBeanInfo by introspection. |
XMLBeanInfo |
XMLIntrospector.introspect(Class aClass)
Create a standard
XMLBeanInfo by introspection. |
XMLBeanInfo |
XMLIntrospector.introspect(Object bean)
Create a standard
XMLBeanInfo by introspection
The actual introspection depends only on the BeanInfo
associated with the bean. |
Modifier and Type | Field and Description |
---|---|
private XMLBeanInfo |
InfoRule.xmlBeanInfo
XMLBeanInfo being created |
Modifier and Type | Method and Description |
---|---|
XMLBeanInfo |
XMLBeanInfoRegistry.get(Class forThisClass)
Get the
XMLBeanInfo for the given class. |
XMLBeanInfo |
NoCacheRegistry.get(Class forThisClass)
Always return null.
|
XMLBeanInfo |
DefaultXMLBeanInfoRegistry.get(Class forThisClass)
Get
XMLBeanInfo from cache. |
Modifier and Type | Method and Description |
---|---|
void |
XMLBeanInfoRegistry.put(Class forThisClass,
XMLBeanInfo beanInfo)
Associate a class with it's
XMLBeanInfo . |
void |
NoCacheRegistry.put(Class forThisClass,
XMLBeanInfo beanInfo)
Do nothing (this implementation does not cache)
|
void |
DefaultXMLBeanInfoRegistry.put(Class forThisClass,
XMLBeanInfo beanInfo)
Put into cache
|