Class DocBookEngine
java.lang.Object
java.util.Observable
com.nomagic.magicreport.engine.AbstractTemplateEngine
com.nomagic.magicreport.engine.velocity.DefaultTemplateEngine
com.nomagic.magicreport.engine.velocity.XMLEngine
com.nomagic.magicreport.engine.velocity.DocBookEngine
- All Implemented Interfaces:
IExtensionTemplateEngine,com.nomagic.magicreport.engine.IRuntimeInstanceVelocityEngine,ITemplateEngine
This class provides an instance of the Velocity template engine.
- Since:
- Jan 30, 2013
- Version:
- 1.0 Jan 30, 2013
-
Field Summary
Fields inherited from class com.nomagic.magicreport.engine.velocity.DefaultTemplateEngine
velocityContextFields inherited from class com.nomagic.magicreport.engine.AbstractTemplateEngine
context, isAborted, preProcessFile, processFile, properties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidpostProcess(Template template) Perform a post-processing after the template has been evaluated.Methods inherited from class com.nomagic.magicreport.engine.velocity.XMLEngine
createCommentMethods inherited from class com.nomagic.magicreport.engine.velocity.DefaultTemplateEngine
abort, checkFileNotFoundException, clearTools, createTemplate, createTemplate, createTemplate, destroy, getClassLoader, getFormatter, getResolvedSectionName, handleForPage, handleForRow, handleImport, handleIncludeSection, handleSectionBegin, isNoSpaceException, lineCount, preProcess, process, process, processException, processVelocityException, processVelocityException, setClassLoader, setFormatter, setLatestLocation, setLocation, setProperty, setWriterForEvaluate, translate, trimTrailSpaceMethods inherited from class com.nomagic.magicreport.engine.AbstractTemplateEngine
addContext, addInvalidReferenceHandler, addObserver, addReferenceInsertionHandler, evaluate, evaluate, getConcurrentToolException, getContext, getCurrentRuntimeInstance, getInvalidReferenceHandler, getProcessSize, getProperties, getProperty, getReferenceInsertionHandler, isMemoryMode, notifyObservers, observers, setConcurrentToolException, setContext, setCurrentRuntimeInstanceMethods inherited from class java.util.Observable
clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, setChanged
-
Constructor Details
-
DocBookEngine
public DocBookEngine()Create instance of engine.
-
-
Method Details
-
postProcess
Perform a post-processing after the template has been evaluated.- Overrides:
postProcessin classDefaultTemplateEngine- Parameters:
template- template after evaluated.- Throws:
ParseErrorException- if a syntax or other error which prevents it from being parsed.InitializationEngineException- error while initializing engineTemplateException- other error while processing the template- See Also:
-