org.andromda.core.transformation
Interface Transformer

All Known Implementing Classes:
XslTransformer

public interface Transformer

Is able to apply transformations to a given model (such as an XMI file).

Author:
Chad Brandon, Bob Fields

Method Summary
 InputStream transform(String modelUri, Transformation[] transformations)
          Transforms the given model with the given transformations.
 

Method Detail

transform

InputStream transform(String modelUri,
                      Transformation[] transformations)
Transforms the given model with the given transformations. Applies the transformations in the order that they are found.

Parameters:
modelUri - the URI to the model be transform.
transformations - the files to perform the transformation, in the order they should be applied.
Returns:
the transformed result as an input stream.


Copyright © 2003-2012 AndroMDA.org. All Rights Reserved.