Module io.jstach.jstachio
The main entry point is JStachio
which provides various reflection based lookup
mechanisms of models which can be useful if you do not want direct references to generated
code in your code base as well as applies runtime logic like filtering.
This module also provides runtime extension points via the ServiceLoader
and
the SPI of JStachioExtension
.
By default JStachio generates code that needs this module however libraries that
use models (classes annotated with JStache
)
without needing rendering do not necessarily need this module.
Also if all JStaches are configured for zero dependency mode then this module is not needed.
If your application is modular you might need to open your model packages to this module
if you plan on using JStachio
convenience render methods.
opens your.package.with.models to io.jstach.jstachio;
- See Also:
- See JStachio User Guide 1.3.6
-
Packages
PackageDescriptionJStachio Core Runtime API.JStachio extended Mustache context support for context stack as well as Map and JSON tree like models.Builtin Escapers.Builtin Formatters.Output utility classes particularly for leveraging pre-encoding efficiently and shared integration logic for plugging into web application frameworks.JStachio Service Provider extension points API. -
Modules
ModifierModuleDescriptiontransitiveJStachio compile time annotations: io.jstach:jstachio-annotation. -
Services
TypeDescriptionJStachio runtime extension SPISPI used to find generated templates (seeJStacheCatalog
).