|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.metadata.xslt.XsltTransformer
public class XsltTransformer
Executes a xslt transformation process.
Constructor Summary | |
---|---|
XsltTransformer()
|
Method Summary | |
---|---|
static void |
simpleTransform(String contextFile,
InputStream xsltSource,
File result,
Map<String,String> parameters)
Simple transformation method. |
static void |
simpleTransform(String sourcePath,
StreamSource xsltSource,
String resultDir,
Map<String,String> parameters)
Simple transformation method. |
static void |
simpleTransform(String sourcePath,
String xsltPath,
String resultDir,
Map<String,String> parameters)
Simple transformation method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XsltTransformer()
Method Detail |
---|
public static void simpleTransform(String sourcePath, String xsltPath, String resultDir, Map<String,String> parameters) throws TransformerException
sourcePath
- - Absolute path to source xml file.xsltPath
- - Absolute path to xslt file.resultDir
- - Directory where you want to put resulting files.parameters
- - Map defining global XSLT parameters based via tranformer to the XSLT file.
TransformerException
public static void simpleTransform(String sourcePath, StreamSource xsltSource, String resultDir, Map<String,String> parameters) throws TransformerException
sourcePath
- - Absolute path to source xml file.StreamSource
- - the xslt file.resultDir
- - Directory where you want to put resulting files.parameters
- - Map defining global XSLT parameters based via tranformer to the XSLT file.
TransformerException
public static void simpleTransform(String contextFile, InputStream xsltSource, File result, Map<String,String> parameters) throws TransformerException
contextFile
- - Absolute path to source xml file.StreamSource
- - the xslt file.resultDir
- - Directory where you want to put resulting files.parameters
- - Map defining global XSLT parameters based via transformer to the XSLT file.
TransformerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |