org.apache.commons.betwixt.strategy
Class StandardSimpleTypeMapper

java.lang.Object
  extended byorg.apache.commons.betwixt.strategy.SimpleTypeMapper
      extended byorg.apache.commons.betwixt.strategy.StandardSimpleTypeMapper

public class StandardSimpleTypeMapper
extends SimpleTypeMapper

Binds simple types as specified by IntrospectionConfiguration.isAttributesForPrimitives().

Version:
$Revision: 438373 $
Author:
Jakarta Commons Team

Nested Class Summary
 
Nested classes inherited from class org.apache.commons.betwixt.strategy.SimpleTypeMapper
SimpleTypeMapper.Binding
 
Constructor Summary
StandardSimpleTypeMapper()
           
 
Method Summary
 SimpleTypeMapper.Binding bind(java.lang.String propertyName, java.lang.Class propertyType, IntrospectionConfiguration configuration)
          Implementation binds as per configuration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardSimpleTypeMapper

public StandardSimpleTypeMapper()
Method Detail

bind

public SimpleTypeMapper.Binding bind(java.lang.String propertyName,
                                     java.lang.Class propertyType,
                                     IntrospectionConfiguration configuration)
Implementation binds as per configuration

Specified by:
bind in class SimpleTypeMapper
Parameters:
propertyName - the name of the property (to be bound)
propertyType - the type of the property (to be bound)
configuration - the current IntrospectionConfiguration