at.gv.egovernment.moa.spss.server.invoke
Class TransformationFactory
java.lang.Object
|
+--at.gv.egovernment.moa.spss.server.invoke.TransformationFactory
- public class TransformationFactory
- extends Object
A factory to create Transformation
objects from
Transform
objects.
- Version:
- $Id$
- Author:
- Patrick Peck
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransformationFactory
protected TransformationFactory()
- Create a new
TransformationFactory
.
Protected to disallow multiple instances.
getInstance
public static TransformationFactory getInstance()
- Get the single instance of the factory.
- Returns:
- TransformationFactory The single instance.
createTransformation
public iaik.server.modules.xml.Transformation createTransformation(at.gv.egovernment.moa.spss.api.common.Transform transform)
throws MOAApplicationException
- Create a
Transformation
based on a
Transform
object.
- Parameters:
transform
- The Transform
object to extract
transformation data from.- Returns:
- The transformation contained in the
transform
object. - Throws:
MOAApplicationException
- An error occured creating the
Transformation
. See exception message for details.
createTransformationList
public List createTransformationList(List transforms)
throws MOAApplicationException
- Create a
List
of Transformation
s from a
List
of Transform
s.
- Parameters:
transforms
- The List
containing the
Transform
s.- Returns:
- The
List
of Transformation
s corresponding
to the transforms
. - Throws:
MOAApplicationException
- An error occurred building one of the
transformations. See exception message for details.