public abstract class

SimpleTypeMapper

extends Object
java.lang.Object
   ↳ org.apache.commons.betwixt.strategy.SimpleTypeMapper
Known Direct Subclasses

Class Overview

Strategy for binding simple types. Simple types (in xml) have no attributes or child elements. For Betwixt, these are converted to and from strings and these strings used to populate either attributes or element body's.

Summary

Nested Classes
class SimpleTypeMapper.Binding Enumerates binding options for simple types. 
Public Constructors
SimpleTypeMapper()
Public Methods
abstract SimpleTypeMapper.Binding bind(String propertyName, Class propertyType, IntrospectionConfiguration configuration)

Specifies the binding of a simple type.

[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SimpleTypeMapper ()

Public Methods

public abstract SimpleTypeMapper.Binding bind (String propertyName, Class propertyType, IntrospectionConfiguration configuration)

Specifies the binding of a simple type.

Note: the xml name to which this property will be bound cannot be known at this stage (since it depends

Parameters
propertyName the name of the property (to be bound)
propertyType the type of the property (to be bound)
configuration the current IntrospectionConfiguration