org.apache.commons.betwixt.strategy

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Library » Apache commons betwixt 0.8 src » org.apache.commons.betwixt.strategy 
org.apache.commons.betwixt.strategy

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

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.

Java Source File NameTypeComment
ABCBean.javaClass
ActionMappingStrategy.javaClass

Pluggable strategy interface used for free mappings.

Free mappings (ones where the current mapping ) are executed by calling a ActionMappingStrategy implementation. So, using a custom strategy is an easy way to customize the mapping.

AlphaBean.javaClass
AttributeSuppressionStrategy.javaInterface Strategy to determine whether to show an attribute at all.
BadCharacterReplacingNMapper.javaClass NameMapper implementation that processes a name by replacing or stripping illegal characters before passing result down the chain.
BaseMixedContentEncodingStrategy.javaClass

Basic implementation for MixedContentEncodingStrategy supports variations of most common use case.

BetaBean.javaClass
CapitalizeNameMapper.javaClass A beanmapper which converts a type to start with an uppercase.
ClassNormalizer.javaClass

Class normalization strategy.

The normalized Class is the Class that Betwixt should introspect. This strategy class allows the introspected Class to be varied. This implementation simply returns the Class given.

Used by Betwixt to allow superclasses or interfaces to be subsittuted before an object is introspected.

CollectiveTypeStrategy.javaClass
ComposerBean.javaClass
ConvertUtilsObjectStringConverter.javaClass String <-> object conversion strategy that delegates to ConvertUtils.
DecapitalizeNameMapper.javaClass

A name mapper which converts types to a decapitalized String.

This conversion decapitalizes in the standard java beans way (as per java.beans.Introspector).

DefaultActionMappingStrategy.javaClass
DefaultIdStoringStrategy.javaClass

Stores every ID that given to it into an internal HashMap and returns it on request.

DefaultNameMapper.javaClass

A default implementation of the name mapper.

DefaultObjectStringConverter.javaClass

Default string <-> object conversion strategy.

This delegates to ConvertUtils except when the type is assignable from java.util.Date but not from java.sql.Date.

DefaultPluralStemmer.javaClass
Element.javaClass
Elements.javaClass
ElementsList.javaClass
ElementSuppressionStrategy.javaInterface Strategy to determine whether to show an element at all.
HyphenatedNameMapper.javaClass A name mapper which converts types to a hypenated String.
IdStoringStrategy.javaClass Pluggable strategy for id storage management.
ListedClassNormalizer.javaClass

ClassNormalizer that uses a list of substitutions.

This ClassNormalizer checks a list (in order) to find a matching Class.

MappingDerivationStrategy.javaClass

Pluggable strategy determines whether introspection or bind time typing should be used when finding mappings. The type of a property is determined at introspection time but the actual type of the instance can differ at bind time (when the xml is actually being processed).

MixedContentEncodingStrategy.javaClass

Encodes body content.

NameMapper.javaInterface A plugin Strategy pattern for converting Java type names into element names.
NamespacePrefixMapper.javaClass

Maps namespace URI's to prefixes.

ObjectStringConverter.javaClass

Strategy class for string <-> object conversions.

PluralStemmer.javaInterface A plugin Strategy pattern which will detect the plural property which maps to a singular property name.
PropertySuppressionStrategy.javaClass Pluggable strategy specifying whether property's should be suppressed.
SimpleTypeMapper.javaClass Strategy for binding simple types.
StandardSimpleTypeMapper.javaClass Binds simple types as specified by IntrospectionConfiguration.isAttributesForPrimitives .
TestBadCharacterReplacingNMapper.javaClass
TestBaseMappingStrategy.javaClass
TestCapitalizeNameMapper.javaClass
TestConversionFlavour.javaClass
TestDecapitalizeNameMapper.javaClass
TestDefaultNameMapper.javaClass Testcase that covers the DefaultNameMapper.
TestDefaultPluralStemmer.javaClass
TestElementsIO.javaClass Tests streaming/destreaming of an Elements bean, a container for Element instances, using various name mappers The objective of this is to verify that containers whose names are plurals of their contents can be written and read back successfully.
TestHyphenatedNameMapper.javaClass
Testi18nObjectStringConversion.javaClass
TestIdStorageStrategy.javaClass
TestMixedContentEncoding.javaClass Tests for mixed content encoding. Mixed content encoding is the process by which body content is written out (in an escaped form) into a textual output stream.
TestNamespaces.javaClass
TestObjectStringConverters.javaClass
TestSimpleTypeMapper.javaClass Tests for SimpleTypeMapper and the associated strategy.
TestValueSuppressionStrategy.javaClass
TuneBean.javaClass
TypeBindingStrategy.javaClass Determines the way that a type (of object) should be bound by Betwixt.
ValueSuppressionStrategy.javaClass Determines whether the expression of an attribute with a values should be suppressed.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.