Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.varia » deployment » convertor » [javadoc | source]
org.jboss.varia.deployment.convertor
public class: XslTransformer [javadoc | source]
java.lang.Object
   org.jboss.varia.deployment.convertor.XslTransformer
XslTransformer is a utility class for XSL transformations.
Method from org.jboss.varia.deployment.convertor.XslTransformer Summary:
applyTransformation,   applyTransformation
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.varia.deployment.convertor.XslTransformer Detail:
 public static synchronized  void applyTransformation(InputStream srcIs,
    OutputStream destOs,
    InputStream templateIs,
    Properties outputProps) throws TransformerException, IOException 
    Applies transformation. Pre-compiled stylesheet should be used in a thread-safe manner grabbing a new transformer before completing the transformation.
 public static synchronized  void applyTransformation(InputStream srcIs,
    OutputStream destOs,
    InputStream templateIs,
    Properties outputProps,
    Properties xslParams) throws TransformerException, IOException 
    Applies template templateIs to xml source srcIs with output properties outputProps and parameters xslParams. The resulting xml is written to destOs