|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.betwixt.strategy.SimpleTypeMapper
public abstract class SimpleTypeMapper
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.
Nested Class Summary | |
---|---|
static class |
SimpleTypeMapper.Binding
Enumerates binding options for simple types. |
Constructor Summary | |
---|---|
SimpleTypeMapper()
|
Method Summary | |
---|---|
abstract SimpleTypeMapper.Binding |
bind(java.lang.String propertyName,
java.lang.Class propertyType,
IntrospectionConfiguration configuration)
Specifies the binding of a simple type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleTypeMapper()
Method Detail |
---|
public abstract SimpleTypeMapper.Binding bind(java.lang.String propertyName, java.lang.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
propertyName
- the name of the property (to be bound)propertyType
- the type of the property (to be bound)configuration
- the current IntrospectionConfiguration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |