Package org.apache.commons.betwixt.strategy

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
BadCharacterReplacingNMapper NameMapper implementation that processes a name by replacing or stripping illegal characters before passing result down the chain.
BaseMixedContentEncodingStrategy Basic implementation for MixedContentEncodingStrategy supports variations of most common use case.
CapitalizeNameMapper A beanmapper which converts a type to start with an uppercase.
ClassNormalizer Class normalization strategy.
ConvertUtilsObjectStringConverter String <-> object conversion strategy that delegates to ConvertUtils.
DecapitalizeNameMapper A name mapper which converts types to a decapitalized String.
DefaultNameMapper A default implementation of the name mapper.
DefaultObjectStringConverter Default string <-> object conversion strategy.
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.
ListedClassNormalizer ClassNormalizer that uses a list of substitutions.
MixedContentEncodingStrategy Encodes body content.
ObjectStringConverter Strategy class for string <-> object conversions.
 

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.



Copyright © 2002-2004 The Apache Software Foundation. All Rights Reserved.