当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 varia API Documentation 英文版文档
XslTransformer (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档
org.jboss.varia.deployment.convertor
Class XslTransformer
java.lang.Object
org.jboss.varia.deployment.convertor.XslTransformer
- public class XslTransformer
- extends Object
XslTransformer is a utility class for XSL transformations.
- Author:
- Alex Loubyansky
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XslTransformer
public XslTransformer()
applyTransformation
public static 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.
- Throws:
TransformerException
IOException
applyTransformation
public static 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
- Throws:
TransformerException
IOException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.