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, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConfigurationKeys, init
public void compilationFinished(MustacheCompilationEvent event)
MustacheListener
Mustache
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 MustacheListener
public void renderingStarted(MustacheRenderingEvent event)
MustacheListener
Mustache
is about to start. Always use
ReleaseCallbackContainer.registerReleaseCallback(ReleaseCallback)
to release all the necessary resources.renderingStarted
in interface MustacheListener
public void renderingFinished(MustacheRenderingEvent event)
MustacheListener
Mustache
is about to finish. Always use
ReleaseCallbackContainer.registerReleaseCallback(ReleaseCallback)
to release all the necessary resources.renderingFinished
in interface MustacheListener
public void parsingStarted(MustacheParsingEvent event)
MustacheListener
Mustache
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 MustacheListener
Copyright © 2017. All rights reserved.