Package | Description |
---|---|
org.apache.commons.betwixt |
This package contains the main betwixt introspection code.
|
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). |
org.apache.commons.betwixt.schema |
WARNING: EXPERIMENTAL
Contains classes that generate XML (w3c) schema
from
Betwixt descriptors. |
Modifier and Type | Method and Description |
---|---|
protected XMLBeanInfo |
XMLIntrospector.createXMLBeanInfo(BeanInfo beanInfo)
Factory method to create XMLBeanInfo instances
|
protected XMLBeanInfo |
XMLIntrospector.createXMLBeanInfo(org.apache.commons.beanutils.DynaClass dynaClass)
Creates XMLBeanInfo for the given DynaClass.
|
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(Class aClass,
org.xml.sax.InputSource source)
Introspects the given
Class using the dot betwixt
document in the given InputSource . |
XMLBeanInfo |
XMLIntrospector.introspect(org.apache.commons.beanutils.DynaClass dynaClass)
Creates XMLBeanInfo by reading the DynaProperties of a DynaBean.
|
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 | 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
|
Modifier and Type | Method and Description |
---|---|
XMLBeanInfo |
Schema.introspect(Class type)
Introspects the given type giving an
XMLBeanInfo . |
Modifier and Type | Method and Description |
---|---|
Schema |
SchemaTranscriber.generate(XMLBeanInfo xmlBeanInfo)
Generates an XML Schema model from the given XMLBeanInfo
|
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.