public class JSPXSLTProcessor extends XSLTProcessor
JSPXSLTProcessor
is an XSLTProcessor which allows
you to return the result of a transformation directly to the output
stream of a JSP page.Constructor and Description |
---|
JSPXSLTProcessor()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(XMLComponentPresentation cp,
JSPPage page)
Applies an XSLT Transformation and writes the result to the JSP
outputstream.
|
void |
apply(XMLComponentPresentation cp,
PrintWriter printWriter)
Applies an XSLT Transformation and writes the result to the JSP
outputstream.
|
getString, getString, getString, getString, getString, getString, getTransformer, initPageURI, setParameters
public void apply(XMLComponentPresentation cp, JSPPage page)
cp
- The XML Component Presentation that should be transformed.page
- The JSPPage instance, which is needed to get hold of
the output stream.public void apply(XMLComponentPresentation cp, PrintWriter printWriter)
cp
- The XML Component Presentation that should be transformed.printWriter
- The Servlet's PrintWriter.Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries