org.apache.commons.betwixt.strategy
Class StandardSimpleTypeMapper

java.lang.Object
  extended by org.apache.commons.betwixt.strategy.SimpleTypeMapper
      extended by org.apache.commons.betwixt.strategy.StandardSimpleTypeMapper

public class StandardSimpleTypeMapper
extends SimpleTypeMapper

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

Version:
$Revision: 561314 $
Author:
Apache Commons Team

Nested Class Summary
 
Nested classes/interfaces 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


Copyright 2002-2008 The Apache Software Foundation. All Rights Reserved.