Class MustacheProcessor.MustacheRenderer
- java.lang.Object
-
- io.virtdata.docsys.metafs.fs.renderfs.renderers.MustacheProcessor.MustacheRenderer
-
- All Implemented Interfaces:
Renderer,Versioned,java.util.function.Function<RenderingScope,RenderedContent>
- Enclosing class:
- MustacheProcessor
public static class MustacheProcessor.MustacheRenderer extends java.lang.Object implements Renderer
-
-
Constructor Summary
Constructors Constructor Description MustacheRenderer(TemplateView templateView)
-
Method Summary
Modifier and Type Method Description RenderedContentapply(RenderingScope renderingScope)longgetVersion()Get the version for this element.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.virtdata.docsys.metafs.fs.renderfs.api.rendering.Versioned
isValidFor, isValidFor
-
-
-
-
Constructor Detail
-
MustacheRenderer
public MustacheRenderer(TemplateView templateView)
-
-
Method Detail
-
apply
public RenderedContent apply(RenderingScope renderingScope)
- Specified by:
applyin interfacejava.util.function.Function<RenderingScope,RenderedContent>
-
getVersion
public long getVersion()
Description copied from interface:VersionedGet the version for this element. An element is considered valid only for other elements of the same version.- Specified by:
getVersionin interfaceVersioned
-
-