Class JavaMainDumper
java.lang.Object
fr.opensagres.xdocreport.document.dump.AbstractDumper
fr.opensagres.xdocreport.document.dump.java.JavaMainDumper
- All Implemented Interfaces:
IDumper
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.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoDump(IXDocReport report, InputStream documentIn, fr.opensagres.xdocreport.template.IContext context, DumperOptions option, fr.opensagres.xdocreport.template.ITemplateEngine templateEngine, OutputStream out) static IDumperfr.opensagres.xdocreport.converter.MimeMappingReturns mime mapping switch the kind of the dumper.Methods inherited from class fr.opensagres.xdocreport.document.dump.AbstractDumper
dump, dump
-
Constructor Details
-
JavaMainDumper
public JavaMainDumper()
-
-
Method Details
-
getInstance
-
doDump
protected void doDump(IXDocReport report, InputStream documentIn, fr.opensagres.xdocreport.template.IContext context, DumperOptions option, fr.opensagres.xdocreport.template.ITemplateEngine templateEngine, OutputStream out) throws IOException, fr.opensagres.xdocreport.core.XDocReportException - Specified by:
doDumpin classAbstractDumper- Throws:
IOExceptionfr.opensagres.xdocreport.core.XDocReportException
-
getMimeMapping
public fr.opensagres.xdocreport.converter.MimeMapping getMimeMapping()Description copied from interface:IDumperReturns mime mapping switch the kind of the dumper.- Returns:
-