fr.opensagres.xdocreport.document.dump.java
Class JavaMainDumper
java.lang.Object
fr.opensagres.xdocreport.document.dump.AbstractDumper
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 :
- the template document is encoded as binary 64 String.
- the data context is encoded as binary 64 as JSON.
- the fields metadata is encoded as binary 64 as XML.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaMainDumper
public JavaMainDumper()
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.