| org.apache.turbine.services.xslt.XSLTService
All known Subclasses: org.apache.turbine.services.xslt.TurbineXSLTService,
XSLTService | public interface XSLTService extends Service(Code) | | 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.
author: Leon Messerschmidt author: Thomas Vandahl version: $Id: XSLTService.java 534527 2007-05-02 16:10:59Z tv $ |
Method Summary | |
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. | 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. | 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. | 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. | 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. | 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, 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, Node in, Map params) Uses an xsl file to transform xml input from a DOM note and returns a
string containing the transformed output. |
STYLESHEET_CACHING | String STYLESHEET_CACHING(Code) | | Property for caching the stylesheets
|
STYLESHEET_CACHING_DEFAULT | boolean STYLESHEET_CACHING_DEFAULT(Code) | | Default for caching the stylesheets
|
STYLESHEET_PATH | String STYLESHEET_PATH(Code) | | Name of the Style sheet path property
|
STYLESHEET_PATH_DEFAULT | String STYLESHEET_PATH_DEFAULT(Code) | | Default value of the Style sheet path
|
transform | void transform(String xslName, Reader in, Writer out) throws Exception(Code) | | Uses an xsl file to transform xml input from a reader and writes the
output to a writer.
Parameters: xslName - The name of the file that contains the xsl stylesheet. Parameters: in - The reader that passes the xml to be transformed Parameters: out - The writer for the transformed output |
transform | String transform(String xslName, Reader in) throws Exception(Code) | | Uses an xsl file to transform xml input from a reader and returns a
string containing the transformed output.
Parameters: xslName - The name of the file that contains the xsl stylesheet. Parameters: in - The reader that passes the xml to be transformed |
transform | void transform(String xslName, Node in, Writer out) throws Exception(Code) | | Uses an xsl file to transform xml input from a DOM note and writes the
output to a writer.
Parameters: xslName - The name of the file that contains the xsl stylesheet. Parameters: in - The DOM Node to be transformed Parameters: out - The writer for the transformed output |
transform | String transform(String xslName, Node in) throws Exception(Code) | | Uses an xsl file to transform xml input from a DOM note and returns a
string containing the transformed output.
Parameters: xslName - The name of the file that contains the xsl stylesheet. Parameters: out - The writer for the transformed output |
transform | void transform(String xslName, Reader in, Writer out, Map params) throws Exception(Code) | | Uses an xsl file to transform xml input from a reader and writes the
output to a writer.
Parameters: xslName - The name of the file that contains the xsl stylesheet. Parameters: in - The reader that passes the xml to be transformed Parameters: out - The writer for the transformed output Parameters: params - A set of parameters that will be forwarded to the XSLT |
transform | String transform(String xslName, Reader in, Map params) throws Exception(Code) | | Uses an xsl file to transform xml input from a reader and returns a
string containing the transformed output.
Parameters: xslName - The name of the file that contains the xsl stylesheet. Parameters: in - The reader that passes the xml to be transformed Parameters: params - A set of parameters that will be forwarded to the XSLT |
transform | void transform(String xslName, Node in, Writer out, Map params) throws Exception(Code) | | Uses an xsl file to transform xml input from a DOM note and writes the
output to a writer.
Parameters: xslName - The name of the file that contains the xsl stylesheet. Parameters: in - The DOM Node to be transformed Parameters: out - The writer for the transformed output Parameters: params - A set of parameters that will be forwarded to the XSLT |
transform | String transform(String xslName, Node in, Map params) throws Exception(Code) | | Uses an xsl file to transform xml input from a DOM note and returns a
string containing the transformed output.
Parameters: xslName - The name of the file that contains the xsl stylesheet. Parameters: out - The writer for the transformed output Parameters: params - A set of parameters that will be forwarded to the XSLT |
|
|