|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.ezmorph.array.AbstractArrayMorpher
public abstract class AbstractArrayMorpher
Base class for array Morphers.
| Constructor Summary | |
|---|---|
AbstractArrayMorpher()
|
|
AbstractArrayMorpher(boolean useDefault)
|
|
| Method Summary | |
|---|---|
protected int[] |
createDimensions(int length,
int initial)
Creates an array representing the dimensions for comversion. |
protected int |
getDimensions(Class arrayClass)
Returns the number of dimensions in an array class. |
boolean |
isUseDefault()
Returns if this morpher will use a default value. |
void |
setUseDefault(boolean useDefault)
Sets if this morpher will use a default value. |
boolean |
supports(Class clazz)
Returns true if the Morpher supports conversion from this Class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.ezmorph.ObjectMorpher |
|---|
morph |
| Methods inherited from interface net.sf.ezmorph.Morpher |
|---|
morphsTo |
| Constructor Detail |
|---|
public AbstractArrayMorpher()
public AbstractArrayMorpher(boolean useDefault)
useDefault - if morph() should return a default value if the value to
be morphed is null| Method Detail |
|---|
public boolean isUseDefault()
public void setUseDefault(boolean useDefault)
public boolean supports(Class clazz)
Morpher
supports in interface Morpherclazz - the source Class
protected int[] createDimensions(int length,
int initial)
protected int getDimensions(Class arrayClass)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||