|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuchicago.src.sim.util.XSLTTransformer
public class XSLTTransformer
Class used to transform xml documents using XSLT. This is used to convert xml batch parameter files to the default repast batch parameter file format.
| Method Summary | |
|---|---|
static java.lang.String |
transform(java.io.InputStream xsltFile,
java.io.InputStream xmlFileToTransform,
java.lang.String outputFileName)
Transforms a given xml file using a given XSLT translation file, writing the result to a given output file. |
static java.lang.String |
transform(java.lang.String xsltFileName,
java.lang.String xmlFileToTransformName,
java.lang.String outputFileName)
Transforms a given xml file using a given XSLT translation file, writing the result to a given output file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String transform(java.lang.String xsltFileName,
java.lang.String xmlFileToTransformName,
java.lang.String outputFileName)
xsltFileName - the name of the XSLT translation filexmlFileToTransformName - the name of the xml file to translateoutputFileName - the name of file to write to (can be null, in which case a
temporary file is used)
public static java.lang.String transform(java.io.InputStream xsltFile,
java.io.InputStream xmlFileToTransform,
java.lang.String outputFileName)
xsltFileName - the XSLT translation filexmlFileToTransformName - the xml file to translateoutputFileName - the name of file to write to (can be null, in which case a
temporary file is used)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||