|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.unihalle.informatik.Alida.operator.ALDOperator
de.unihalle.informatik.Alida.dataconverter.ALDVectorNativeArrayConverter
@ALDDataConverterProvider public class ALDVectorNativeArrayConverter
Converts 1D arrays of native data types to Vector data types.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class de.unihalle.informatik.Alida.operator.ALDOperator |
|---|
ALDOperator.HidingMode |
| Field Summary |
|---|
| Fields inherited from class de.unihalle.informatik.Alida.operator.ALDOperator |
|---|
completeDAG, name, portHashAccess, verbose, versionProvider |
| Fields inherited from interface de.unihalle.informatik.Alida.dataconverter.ALDDataConverter |
|---|
providesMethodName |
| Constructor Summary | |
|---|---|
ALDVectorNativeArrayConverter()
Default constructor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
convert(java.lang.Object sourceObject,
java.lang.reflect.Type[] sourceTypes,
java.lang.Class<?> targetClass,
java.lang.reflect.Type[] targetTypes)
Convert the sourceObject into an object of class
targetClass. |
protected void |
operate()
This method does the actual work and needs to be implemented by every subclass. |
java.util.Collection<ALDDataConverterManager.ALDSourceTargetClassPair> |
providedClasses()
Announce all classes pairs which the converter can handle. |
boolean |
supportConversion(java.lang.Class<?> sourceClass,
java.lang.reflect.Type[] sourceTypes,
java.lang.Class<?> targetClass,
java.lang.reflect.Type[] targetTypes)
Does the converter support this kind of conversion. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ALDVectorNativeArrayConverter()
throws ALDOperatorException
ALDOperatorException| Method Detail |
|---|
public java.util.Collection<ALDDataConverterManager.ALDSourceTargetClassPair> providedClasses()
ALDDataConverterNote: for parameterized types there is only indicates that the converter can in principle handle conversion for these classes but depending und the type parameters still may refuse to convert
providedClasses in interface ALDDataConverter
public boolean supportConversion(java.lang.Class<?> sourceClass,
java.lang.reflect.Type[] sourceTypes,
java.lang.Class<?> targetClass,
java.lang.reflect.Type[] targetTypes)
ALDDataConverter
supportConversion in interface ALDDataConverter
public java.lang.Object convert(java.lang.Object sourceObject,
java.lang.reflect.Type[] sourceTypes,
java.lang.Class<?> targetClass,
java.lang.reflect.Type[] targetTypes)
throws ALDDataConverterException
ALDDataConvertersourceObject into an object of class
targetClass.
convert in interface ALDDataConverterALDDataConverterExceptionprotected void operate()
ALDOperator
operate in class ALDOperator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||