|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XSLTLiaison
Proxy interface for XSLT processors.
XSLTProcess
Field Summary | |
---|---|
static java.lang.String |
FILE_PROTOCOL_PREFIX
the file protocol prefix for systemid. |
Method Summary | |
---|---|
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. |
Field Detail |
---|
static final java.lang.String FILE_PROTOCOL_PREFIX
Method Detail |
---|
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.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 transformation
java.lang.Exception
- thrown if any problems happens.setStylesheet(File)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |