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.
|
org.apache.commons.betwixt.io.read |
Package contains strategy and configuration classes used by reading only.
|
org.apache.commons.betwixt.schema |
WARNING: EXPERIMENTAL
Contains classes that generate XML (w3c) schema
from
Betwixt descriptors. |
org.apache.commons.betwixt.strategy |
This package contains a variety of plugin Strategy patterns that can be used to customize the
default behaviours.
|
Modifier and Type | Method and Description |
---|---|
AttributeDescriptor |
ElementDescriptor.getAttributeDescriptor(String name)
Returns an attribute descriptor with a given name or null.
|
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.removeAttributeDescriptor(AttributeDescriptor descriptor)
Removes an attribute descriptor from this element descriptor.
|
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)
Deprecated.
0.6 moved into AttributeRule
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractBeanWriter.writeAttribute(AttributeDescriptor attributeDescriptor,
Context context)
Deprecated.
0.5 replaced by new SAX inspired API
|
Modifier and Type | Method and Description |
---|---|
void |
ReadContext.populateAttributes(AttributeDescriptor[] attributeDescriptors,
org.xml.sax.Attributes attributes)
Populates the object mapped by the
AttributeDescriptor s
with the values in the given Attributes . |
Constructor and Description |
---|
Attribute(AttributeDescriptor attributeDescriptor) |
Modifier and Type | Method and Description |
---|---|
boolean |
AttributeSuppressionStrategy.suppress(AttributeDescriptor descriptor)
Should the attribute described as given be suppressed during introspection?
|
abstract boolean |
ValueSuppressionStrategy.suppressAttribute(AttributeDescriptor attributeDescriptor,
String value)
Should the given attribute value be suppressed?
|
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.