public interface XSLTLiaison
XSLTProcess
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FILE_PROTOCOL_PREFIX
the file protocol prefix for systemid.
|
Modifier and Type | Method and Description |
---|---|
void |
addParam(java.lang.String name,
java.lang.String expression)
Add a parameter to be set during the XSL transformation.
|
void |
setStylesheet(java.io.File stylesheet)
set the stylesheet to use for the transformation.
|
void |
transform(java.io.File infile,
java.io.File outfile)
Perform the transformation of a file into another.
|
static final java.lang.String FILE_PROTOCOL_PREFIX
void setStylesheet(java.io.File stylesheet) throws java.lang.Exception
stylesheet
- the stylesheet to be used for transformation.java.lang.Exception
- thrown if any problems happens.void addParam(java.lang.String name, java.lang.String expression) throws java.lang.Exception
name
- the parameter name.expression
- the parameter value as an expression string.java.lang.Exception
- thrown if any problems happens.XSLTLiaison4.addParam(java.lang.String, java.lang.Object)
void transform(java.io.File infile, java.io.File outfile) throws java.lang.Exception
infile
- the input file, probably an XML one. :-)outfile
- the output file resulting from the transformationjava.lang.Exception
- thrown if any problems happens.setStylesheet(File)