

Public Member Functions | |
| ArrayMapper (Object delegate, Logger logger) | |
| boolean | canTranslate (Class<?> oldObjClass, Class<?> newObjClass, ComponentInvocationHandler invHandler) |
Package Functions | |
| public< T > Object | translate (Object oldArray, T newObjectTemplate, Class< T > newArrayClass, ComponentInvocationHandler invHandler) throws DynWrapperException |
/** Maps between one-dimensional arrays of different types. Delegates the mapping of the array values to some other mapper.
| alma::acs::component::dynwrapper::ArrayMapper::ArrayMapper | ( | Object | delegate, | |
| Logger | logger | |||
| ) | [inline] |
Constructor for ArrayMapper.
| delegate |
| boolean alma::acs::component::dynwrapper::ArrayMapper::canTranslate | ( | Class<?> | oldObjClass, | |
| Class<?> | newObjClass, | |||
| ComponentInvocationHandler | invHandler | |||
| ) | [inline, virtual] |
Implements alma::acs::component::dynwrapper::TypeMapper.
| public<T> Object alma::acs::component::dynwrapper::ArrayMapper::translate | ( | Object | oldArray, | |
| T | newObjectTemplate, | |||
| Class< T > | newArrayClass, | |||
| ComponentInvocationHandler | invHandler | |||
| ) | throws DynWrapperException [inline, package, virtual] |
Translates oldArray into a new array of type newArrayClass with the same length. The array elements are translated using some other mapper class.
Implements alma::acs::component::dynwrapper::TypeMapper.
1.6.2