Package org.apache.commons.betwixt.strategy

This package contains a variety of plugin Strategy patterns that can be used to customize the default behaviour.of the XMLIntrospector

See:
          Description

Interface Summary
NameMapper A plugin Strategy pattern for converting java type names into element names.
PluralStemmer A plugin Strategy pattern which will detect the plural property which maps to a singular property name.
 

Class Summary
CapitalizeNameMapper A beanmapper which converts a type to start with an uppercase.
DecapitalizeNameMapper A name mapper which converts types to a decapitalized String.
DefaultNameMapper A default implementation of the name mapper.
DefaultPluralStemmer A default implementation of the plural name stemmer which tests for some common english plural/singular patterns and then uses a simple starts-with algorithm
HyphenatedNameMapper A name mapper which converts types to a hypenated String.
 

Package org.apache.commons.betwixt.strategy Description

This package contains a variety of plugin Strategy patterns that can be used to customize the default behaviour.of the XMLIntrospector

Implementations of the NameMapper interface can be used to set the strategy used by XMLIntrospector to determine how to convert bean and property names into element and attribute names.

Implementations of the PluralStemmer interface allows the strategy used by XMLIntrospector to find which plural method maps to a singular property name. This strategy is used to match composite properties to adder-methods. How plurals are constructed is langauge-dependent. A typical usage for custom strategies is to provide support for plural patterns in different languages.