org.andromda.core.transformation
Class XslTransformer

java.lang.Object
  extended by org.andromda.core.transformation.XslTransformer
All Implemented Interfaces:
Transformer

public class XslTransformer
extends java.lang.Object
implements Transformer

An implementation of Transformer that provides XSLT transformations. The transform(String, Transformation[]) operation will apply the given XSLT files to the model in the order which they are found.

Author:
Chad Brandon

Constructor Summary
XslTransformer()
           
 
Method Summary
 java.io.InputStream transform(java.lang.String modelUri, Transformation[] xsltTransformations)
          Applies the given XSLT files to the model in the order in which they are found.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XslTransformer

public XslTransformer()
Method Detail

transform

public java.io.InputStream transform(java.lang.String modelUri,
                                     Transformation[] xsltTransformations)
Applies the given XSLT files to the model in the order in which they are found.

Specified by:
transform in interface Transformer
xsltTransformations - the files to perform the transformation, in the order they should be applied.
Returns:
the transformed result as an input stream.
See Also:
Transformer.transform(String, org.andromda.core.configuration.Transformation[])


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