@OpenApiAll public class HTMLEngine extends DefaultTemplateEngine
velocityContext
context, isAborted, preProcessFile, processFile, properties
Constructor and Description |
---|
HTMLEngine()
Create instance of engine.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
createComment(java.lang.String message)
Return a formatted comment from given message.
|
protected void |
handleForRow(Template template,
java.lang.StringBuffer inProcessBuffer)
Handle the #forrow directive.
|
abort, checkFileNotFoundException, createTemplate, createTemplate, createTemplate, destroy, getClassLoader, getFormatter, handleForPage, handleImport, handleIncludeSection, handleSectionBegin, isNoSpaceException, lineCount, postProcess, preProcess, process, process, processException, processVelocityException, processVelocityException, setClassLoader, setFormatter, setLatestLocation, setLocation, setProperty, translate, trimTrailSpace
addContext, addInvalidReferenceHandler, addObserver, addReferenceInsertionHandler, evaluate, evaluate, getConcurrentToolException, getContext, getCurrentRuntimeInstance, getInvalidReferenceHandler, getProcessSize, getProperties, getProperty, getReferenceInsertionHandler, isMemoryMode, notifyObservers, observers, setConcurrentToolException, setContext, setCurrentRuntimeInstance
protected void handleForRow(Template template, java.lang.StringBuffer inProcessBuffer) throws ParseErrorException
handleForRow
in class DefaultTemplateEngine
template
- Template source.inProcessBuffer
- in process buffer.ParseErrorException
- when error while translation, or syntax not recognized.protected java.lang.String createComment(java.lang.String message)
createComment
in class DefaultTemplateEngine
message
- message to put in document commentCopyright © 2010 - No Magic Asia