fr.opensagres.xdocreport.document.dump.java
Class JavaMainDumper

java.lang.Object
  extended by fr.opensagres.xdocreport.document.dump.AbstractDumper
      extended by fr.opensagres.xdocreport.document.dump.java.JavaMainDumper
All Implemented Interfaces:
IDumper

public class JavaMainDumper
extends AbstractDumper

IDumper implementation which dump a report and context to generate a single Java Main class which generates a report :


Nested Class Summary
static class JavaMainDumper.JavaMainDumperOptions
           
 
Constructor Summary
JavaMainDumper()
           
 
Method Summary
protected  void doDump(IXDocReport report, InputStream documentIn, IContext context, DumperOptions option, ITemplateEngine templateEngine, OutputStream out)
           
static IDumper getInstance()
           
 MimeMapping getMimeMapping()
          Returns mime mapping switch the kind of the dumper.
 
Methods inherited from class fr.opensagres.xdocreport.document.dump.AbstractDumper
dump, dump
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaMainDumper

public JavaMainDumper()
Method Detail

getInstance

public static IDumper getInstance()

doDump

protected void doDump(IXDocReport report,
                      InputStream documentIn,
                      IContext context,
                      DumperOptions option,
                      ITemplateEngine templateEngine,
                      OutputStream out)
               throws IOException,
                      XDocReportException
Specified by:
doDump in class AbstractDumper
Throws:
IOException
XDocReportException

getMimeMapping

public MimeMapping getMimeMapping()
Description copied from interface: IDumper
Returns mime mapping switch the kind of the dumper.

Returns:


Copyright © 2013. All rights reserved.