Class XSLTStreamingOutput
java.lang.Object
org.exoplatform.services.rest.ext.provider.XSLTStreamingOutput
- All Implemented Interfaces:
javax.ws.rs.core.StreamingOutput
This type should be used by resource methods when need to apply XSLT
transformation for returned
Source.- Version:
- $Id: XLSTStreamingOutPut.java
- Author:
- Dmytro Katayev
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionXSLTStreamingOutput(String schemeName, Source source) XSLTStreamingOutput constructor.XSLTStreamingOutput constructor. -
Method Summary
-
Constructor Details
-
XSLTStreamingOutput
XSLTStreamingOutput constructor.- Parameters:
schemeName- XLST scheme name. Must be registered inTRAXTemplatesLoaderPluginsource- entity to write into output stream.
-
XSLTStreamingOutput
XSLTStreamingOutput constructor.- Parameters:
schemeName- XLST scheme name. Must be registered inTRAXTemplatesLoaderPluginsource- entity to write into output stream.xsltParams- XSLT parameters
-
-
Method Details
-
write
.- Specified by:
writein interfacejavax.ws.rs.core.StreamingOutput- Throws:
IOExceptionjavax.ws.rs.WebApplicationException
-