public class ObjectConverter extends Object
This class replicates the behaviour of data conversion when using DataThingFactory.bake in Taverna 1.
In particular it deals with the conversion of arrays to ArrayList
Constructor and Description |
---|
ObjectConverter() |
Modifier and Type | Method and Description |
---|---|
static Object |
convertObject(Object theObject)
Converts an Object into an appropriate type, in particular recursively converting [] arrays to List>'s.
This method is a copy of convertObject in DataThingFactory from Taverna 1 |
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.