Package | Description |
---|---|
net.sf.ezmorph | |
net.sf.ezmorph.bean |
Morphers for JavaBeans and DynaBeans.
|
net.sf.ezmorph.object |
Morphers for Object types.
|
Modifier and Type | Method and Description |
---|---|
static void |
MorphUtils.registerStandardMorphers(MorpherRegistry morpherRegistry)
Clears and registers all standard morpehrs.
|
static void |
MorphUtils.registerStandardObjectArrayMorphers(MorpherRegistry morpherRegistry)
Registers morphers for arrays of wrappers and String with standard default
values.
Boolean - Boolean.FALSE Character - new Character('\0') Byte - new Byte( (byte)0 ) Short - new Short( (short)0 ) Integer - new Integer( 0 ) Long - new Long( 0 ) Float - new Float( 0 ) Double - new Double( 0 ) String - null BigInteger - BigInteger.ZERO BigDecimal - MorphUtils.BIGDECIMAL_ZERO |
static void |
MorphUtils.registerStandardObjectMorphers(MorpherRegistry morpherRegistry)
Registers morphers for wrappers and String with standard default values.
Boolean - Boolean.FALSE Character - new Character('\0') Byte - new Byte( (byte)0 ) Short - new Short( (short)0 ) Integer - new Integer( 0 ) Long - new Long( 0 ) Float - new Float( 0 ) Double - new Double( 0 ) String - null BigInteger - BigInteger.ZERO BigDecimal - MorphUtils.BIGDECIMAL_ZERO |
static void |
MorphUtils.registerStandardPrimitiveArrayMorphers(MorpherRegistry morpherRegistry)
Registers morphers for arrays of primitives with standard default values.
boolean - false char - '\0' byte - 0 short - 0 int - 0 long - 0 float - 0 double - 0 |
static void |
MorphUtils.registerStandardPrimitiveMorphers(MorpherRegistry morpherRegistry)
Registers morphers for primitives with standard default values.
boolean - false char - '\0' byte - 0 short - 0 int - 0 long - 0 float - 0 double - 0 |
Modifier and Type | Method and Description |
---|---|
MorpherRegistry |
MorphDynaBean.getMorpherRegistry() |
Modifier and Type | Method and Description |
---|---|
org.apache.commons.beanutils.DynaBean |
MorphDynaClass.newInstance(MorpherRegistry morpherRegistry) |
void |
MorphDynaBean.setMorpherRegistry(MorpherRegistry morpherRegistry) |
Constructor and Description |
---|
BeanMorpher(Class beanClass,
MorpherRegistry morpherRegistry) |
BeanMorpher(Class beanClass,
MorpherRegistry morpherRegistry,
boolean lenient) |
MorphDynaBean(MorpherRegistry morpherRegistry) |
Constructor and Description |
---|
SwitchingMorpher(Map classMap,
MorpherRegistry morpherRegistry) |
Copyright © 2006–2021. All rights reserved.