|
||||||||||
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, operatorExecutionEventlistenerList, portHashAccess, verbose, versionProvider |
Fields inherited from interface de.unihalle.informatik.Alida.dataconverter.ALDDataConverter |
---|
providesMethodName |
Constructor Summary | |
---|---|
ALDVectorNativeArrayConverter()
Default constructor. |
Method Summary | |
---|---|
Object |
convert(Object sourceObject,
Type[] sourceTypes,
Class<?> targetClass,
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. |
Collection<ALDDataConverterManager.ALDSourceTargetClassPair> |
providedClasses()
Announce all classes pairs which the converter can handle. |
boolean |
supportConversion(Class<?> sourceClass,
Type[] sourceTypes,
Class<?> targetClass,
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 Collection<ALDDataConverterManager.ALDSourceTargetClassPair> providedClasses()
ALDDataConverter
Note: 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(Class<?> sourceClass, Type[] sourceTypes, Class<?> targetClass, Type[] targetTypes)
ALDDataConverter
supportConversion
in interface ALDDataConverter
public Object convert(Object sourceObject, Type[] sourceTypes, Class<?> targetClass, Type[] targetTypes) throws ALDDataConverterException
ALDDataConverter
sourceObject
into an object of class
targetClass
.
convert
in interface ALDDataConverter
ALDDataConverterException
protected void operate()
ALDOperator
operate
in class ALDOperator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |