Class 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 Detail

      • DiagramExporterScriptService

        public DiagramExporterScriptService()
    • Method Detail

      • export

        public void export​(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
                    throws IOException
        Exports a diagram.
        Parameters:
        request - the export request
        response - the response to write the output to
        Throws:
        IOException - if it fails to write the output to the response