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.io |
Package contains classes dealing directly with the reading and writing of beans.
|
Modifier and Type | Field and Description |
---|---|
private AttributeDescriptor[] |
ElementDescriptor.attributeDescriptors
Descriptors for attributes this element contains.
|
private AttributeDescriptor |
XMLBeanInfo.idAttributeDescriptor
Cached
ID attribute descriptor |
Modifier and Type | Method and Description |
---|---|
private AttributeDescriptor |
XMLBeanInfo.findIDAttribute()
ID attribute search implementation
|
AttributeDescriptor[] |
ElementDescriptor.getAttributeDescriptors()
Returns the attribute descriptors for this element
|
AttributeDescriptor |
XMLBeanInfo.getIDAttribute()
Search attributes for one matching
ID attribute name |
Modifier and Type | Method and Description |
---|---|
void |
ElementDescriptor.addAttributeDescriptor(AttributeDescriptor descriptor)
Adds an attribute to the element this
ElementDescriptor describes |
void |
ElementDescriptor.setAttributeDescriptors(AttributeDescriptor[] attributeDescriptors)
Sets the
AttributesDescriptors for this element. |
Modifier and Type | Method and Description |
---|---|
protected void |
AttributeRule.configureDescriptor(AttributeDescriptor attributeDescriptor)
Set the Expression and Updater from a bean property name
|
static void |
XMLIntrospectorHelper.configureProperty(AttributeDescriptor attributeDescriptor,
PropertyDescriptor propertyDescriptor)
Configure an
AttributeDescriptor from a PropertyDescriptor |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractBeanWriter.writeAttribute(AttributeDescriptor attributeDescriptor,
Context context)
Writes an attribute declaration
|