public final class ObjectArrayMorpher extends AbstractArrayMorpher
| Constructor and Description |
|---|
ObjectArrayMorpher(Morpher morpher)
Creates a new ArrayMorpher which will use another Morpher for its inner
type.
The inner morpher can not morph to an array. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
Object |
morph(Object array)
Morphs the input object into an output object of the supported type.
|
Class |
morphsTo()
Returns the target Class for conversion.
|
boolean |
supports(Class clazz)
Returns true if the Morpher supports conversion from this Class.
|
createDimensions, getDimensions, isUseDefault, setUseDefaultpublic ObjectArrayMorpher(Morpher morpher)
morpher - the Morpher that will handle the array's inner type.public Object morph(Object array)
ObjectMorpherarray - The input value to be morphedpublic Class morphsTo()
Morpherpublic boolean supports(Class clazz)
Morphersupports in interface Morphersupports in class AbstractArrayMorpherclazz - the source ClassCopyright © 2006–2024. All rights reserved.