|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XSLTService
The Turbine XSLT Service is used to transform xml with a xsl stylesheet. The service makes use of the Xalan xslt engine available from apache.
Field Summary | |
---|---|
static String |
ROLE
|
Method Summary | |
---|---|
String |
transform(String xslName,
Map params)
Uses an xsl file without any xml input. |
String |
transform(String xslName,
Node in)
Uses an xsl file to transform xml input from a DOM note and returns a string containing the transformed output. |
String |
transform(String xslName,
Node in,
Map params)
Uses an xsl file to transform xml input from a DOM note and returns a string containing the transformed output. |
void |
transform(String xslName,
Node in,
Writer out)
Uses an xsl file to transform xml input from a DOM note and writes the output to a writer. |
void |
transform(String xslName,
Node in,
Writer out,
Map params)
Uses an xsl file to transform xml input from a DOM note and writes the output to a writer. |
String |
transform(String xslName,
Reader in)
Uses an xsl file to transform xml input from a reader and returns a string containing the transformed output. |
String |
transform(String xslName,
Reader in,
Map params)
Uses an xsl file to transform xml input from a reader and returns a string containing the transformed output. |
void |
transform(String xslName,
Reader in,
Writer out)
Uses an xsl file to transform xml input from a reader and writes the output to a writer. |
void |
transform(String xslName,
Reader in,
Writer out,
Map params)
Uses an xsl file to transform xml input from a reader and writes the output to a writer. |
void |
transform(String xslName,
Writer out,
Map params)
Uses an xsl file without any xml input. |
Field Detail |
---|
static final String ROLE
Method Detail |
---|
void transform(String xslName, Reader in, Writer out) throws Exception
xslName
- The name of the file that contains the xsl stylesheet.in
- The reader that passes the xml to be transformedout
- The writer for the transformed output
Exception
- the transformation failedString transform(String xslName, Reader in) throws Exception
xslName
- The name of the file that contains the xsl stylesheet.in
- The reader that passes the xml to be transformed
Exception
- the transformation failedvoid transform(String xslName, Node in, Writer out) throws Exception
xslName
- The name of the file that contains the xsl stylesheet.in
- The DOM Node to be transformedout
- The writer for the transformed output
Exception
- the transformation failedString transform(String xslName, Node in) throws Exception
xslName
- The name of the file that contains the xsl stylesheet.in
- The DOM Node to be transformed
Exception
- the transformation failedvoid transform(String xslName, Reader in, Writer out, Map params) throws Exception
xslName
- The name of the file that contains the xsl stylesheet.in
- The reader that passes the xml to be transformedout
- The writer for the transformed outputparams
- A set of parameters that will be forwarded to the XSLT
Exception
- the transformation failedString transform(String xslName, Reader in, Map params) throws Exception
xslName
- The name of the file that contains the xsl stylesheet.in
- The reader that passes the xml to be transformedparams
- A set of parameters that will be forwarded to the XSLT
Exception
- the transformation failedvoid transform(String xslName, Node in, Writer out, Map params) throws Exception
xslName
- The name of the file that contains the xsl stylesheet.in
- The DOM Node to be transformedout
- The writer for the transformed outputparams
- A set of parameters that will be forwarded to the XSLT
Exception
- the transformation failedString transform(String xslName, Node in, Map params) throws Exception
xslName
- The name of the file that contains the xsl stylesheet.in
- The DOM Node to be transformedparams
- A set of parameters that will be forwarded to the XSLT
Exception
- the transformation failedString transform(String xslName, Map params) throws Exception
xslName
- The name of the file that contains the xsl stylesheet.params
- A set of parameters that will be forwarded to the XSLT
Exception
- the transformation failedvoid transform(String xslName, Writer out, Map params) throws Exception
xslName
- The name of the file that contains the xsl stylesheetout
- The writer for the transformed output.params
- A set of parameters that will be forwarded to the XSLT
Exception
- the transformation failed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |