Uses of Interface
fr.opensagres.xdocreport.template.IContext
Packages that use IContext
-
Uses of IContext in fr.opensagres.xdocreport.template
Methods in fr.opensagres.xdocreport.template that return IContextModifier and TypeMethodDescriptionITemplateEngine.createContext()Create a new context to register Java model.ITemplateEngine.createContext(Map<String, Object> contextMap) Create a new context to register Java model from the given Map.Methods in fr.opensagres.xdocreport.template with parameters of type IContextModifier and TypeMethodDescriptionstatic ITemplateEngineTemplateContextHelper.getTemplateEngine(IContext context) Retrieves the template engine from the given context.voidvoidAbstractTemplateEngine.process(String reportId, String entryName, fr.opensagres.xdocreport.core.io.IEntryReaderProvider readerProvider, fr.opensagres.xdocreport.core.io.IEntryWriterProvider writerProvider, IContext context) voidAbstractTemplateEngine.process(String reportId, String entryName, fr.opensagres.xdocreport.core.io.IEntryReaderProvider readerProvider, Writer writer, IContext context) voidMerge Java model coming from the given context with the given reader and register the merge result in the given writer.voidMerge Java model coming from the given context with the given template name and register the merge result in the given writer.voidITemplateEngine.process(String reportId, String entryName, fr.opensagres.xdocreport.core.io.IEntryReaderProvider readerProvider, fr.opensagres.xdocreport.core.io.IEntryWriterProvider writerProvider, IContext context) Merge Java model coming from the given context with the XML file entryName of the given document archive and modify the entry of the document archive.voidITemplateEngine.process(String reportId, String entryName, fr.opensagres.xdocreport.core.io.IEntryReaderProvider readerProvider, Writer writer, IContext context) protected abstract voidAbstractTemplateEngine.processNoCache(String templateName, IContext context, Reader reader, Writer writer) Merge the given template with the given context and writes the result in the given writer.protected abstract voidAbstractTemplateEngine.processWithCache(String templateName, IContext context, Writer writer) Merge the given template with the given context and writes the result in the given writer.static voidTemplateContextHelper.putContext(IContext context) Register the given context in the given context.static voidTemplateContextHelper.putTemplateEngine(IContext context, ITemplateEngine templateEngine) Register the given template engine in the given context. -
Uses of IContext in fr.opensagres.xdocreport.template.utils
Methods in fr.opensagres.xdocreport.template.utils with parameters of type IContextModifier and TypeMethodDescriptionstatic ObjectTemplateUtils.putContextForDottedKey(IContext context, String key, Object value) If key has '.' character in the key (ex : project.name), this method create aDynamicBeaninstance to emulate the bean Project#getName().