Package com.xwiki.diagram.export.script
Class DiagramExporterScriptService
java.lang.Object
com.xwiki.diagram.export.script.DiagramExporterScriptService
- All Implemented Interfaces:
org.xwiki.script.service.ScriptService
@Component
@Named("diagram.exporter")
@Singleton
@Unstable
public class DiagramExporterScriptService
extends Object
implements org.xwiki.script.service.ScriptService
Script services for exporting diagrams.
- Since:
- 1.11
- Version:
- $Id$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexport(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Exports a diagram.
-
Constructor Details
-
DiagramExporterScriptService
public DiagramExporterScriptService()
-
-
Method Details
-
export
public void export(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException Exports a diagram.- Parameters:
request- the export requestresponse- the response to write the output to- Throws:
IOException- if it fails to write the output to the response
-