public abstract class AbstractMustacheListener extends AbstractConfigurationAware implements MustacheListener
configuration| Constructor and Description |
|---|
AbstractMustacheListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
compilationFinished(MustacheCompilationEvent event)
Notification that a
Mustache template was just compiled. |
void |
parsingStarted(MustacheParsingEvent event)
Parsing of a
Mustache is about to start. |
void |
renderingFinished(MustacheRenderingEvent event)
Rendering of a
Mustache is about to finish. |
void |
renderingStarted(MustacheRenderingEvent event)
Rendering of a
Mustache is about to start. |
checkNotInitialized, init, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigurationKeys, initpublic void compilationFinished(MustacheCompilationEvent event)
MustacheListenerMustache template was just compiled. Keep in
mind that processing of a Lambda may also result in one-off
template compilation - see also
Lambda.isReturnValueInterpolated().compilationFinished in interface MustacheListenerpublic void renderingStarted(MustacheRenderingEvent event)
MustacheListenerMustache is about to start. Always use
ReleaseCallbackContainer.registerReleaseCallback(ReleaseCallback)
to release all the necessary resources.renderingStarted in interface MustacheListenerpublic void renderingFinished(MustacheRenderingEvent event)
MustacheListenerMustache is about to finish. Always use
ReleaseCallbackContainer.registerReleaseCallback(ReleaseCallback)
to release all the necessary resources.renderingFinished in interface MustacheListenerpublic void parsingStarted(MustacheParsingEvent event)
MustacheListenerMustache is about to start. Listeners are allowed to
modify the event payload, particularly the Reader object used by
a parser to read the template contents.parsingStarted in interface MustacheListenerCopyright © 2017. All rights reserved.