Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AUTO_SUFFIX - Static variable in annotation interface io.jstach.jstache.JStachePath
-
If a JStache path is empty and template is empty and suffix is unspecified the path will be generated from the class name and suffixed with this constant.
C
- charset() - Element in annotation interface io.jstach.jstache.JStacheConfig
-
Encoding of template files.
- charsets() - Element in annotation interface io.jstach.jstache.JStacheContentType
-
The charsets supported by the escaper.
- contentType() - Element in annotation interface io.jstach.jstache.JStacheConfig
-
Optional content type which determines what escaper to use for all models in the annotated class/package/module.
- CONTEXT_SUPPORT_DISABLE - Enum constant in enum class io.jstach.jstache.JStacheFlags.Flag
-
Will always bind "@context" with a empty ContextNode.
D
- DEBUG - Enum constant in enum class io.jstach.jstache.JStacheFlags.Flag
-
This will produce additional logging that is sent to standard out while the annotation processor runs (not during runtime).
- DEFAULT_PREFIX - Static variable in annotation interface io.jstach.jstache.JStacheName
-
The default prefix if no
JStacheName.prefix()is set anywhere. - DEFAULT_PREFIX - Static variable in annotation interface io.jstach.jstache.JStachePath
-
The default prefix if
JStachePath.UNSPECIFIED. - DEFAULT_SUFFIX - Static variable in annotation interface io.jstach.jstache.JStacheName
-
The default suffix if no
JStacheName.suffix()is set anywhere. - DEFAULT_SUFFIX - Static variable in annotation interface io.jstach.jstache.JStachePath
-
The default suffix if
JStachePath.UNSPECIFIED.
F
- FIRST_BINDING_NAME - Static variable in annotation interface io.jstach.jstache.JStache
-
A handlebars inspired virtual variable that is bound while in list contexts.
- FIRST_JMUSTACHE_BINDING_NAME - Static variable in annotation interface io.jstach.jstache.JStache
-
A JMustache inspired virtual variable that is bound while in list contexts.
- flags() - Element in annotation interface io.jstach.jstache.JStacheCatalog
-
Configuration flags for generating template catalogs.
- flags() - Element in annotation interface io.jstach.jstache.JStacheFlags
-
Compiler flags that will be used on for this model.
- formatter() - Element in annotation interface io.jstach.jstache.JStacheConfig
-
Optional formatter if not UNSPECIFIED for all models in the annotated class/package/module .
G
- GENERATE_FINDER_META_INF_SERVICE - Enum constant in enum class io.jstach.jstache.JStacheCatalog.CatalogFlag
-
Option that will generate a legacy service loader registration:
META-INF/services/io.jstach.jstachio.spi.JStachioTemplateFinderpointing to the generated template catalog. - GENERATE_PROVIDER_META_INF_SERVICE - Enum constant in enum class io.jstach.jstache.JStacheCatalog.CatalogFlag
-
Option that will generate a legacy service loader registration:
META-INF/services/io.jstach.jstachio.spi.TemplateProviderpointing to the generated template catalog.
I
- INCREMENTAL_OPTION - Static variable in annotation interface io.jstach.jstache.JStache
-
EXPERIMENTAL: annotation processor compiler flag ("jstache.incremental") that turns on incremental compiling of supported platforms (currently only Gradle).
- INDEX_BINDING_NAME - Static variable in annotation interface io.jstach.jstache.JStache
-
A handlebars inspired virtual variable that is bound while in list contexts.
- INDEX_JMUSTACHE_BINDING_NAME - Static variable in annotation interface io.jstach.jstache.JStache
-
A JMustache inspired virtual variable that is bound while in list contexts.
- interfacing() - Element in annotation interface io.jstach.jstache.JStacheConfig
-
Configures what interfaces/annotations the model implements and or extends.
- io.jstach.jstache - module io.jstach.jstache
-
JStachio compile time annotations: io.jstach:jstachio-annotation.
- io.jstach.jstache - package io.jstach.jstache
-
Compile time annotations for jstachio.
J
- JStache - Annotation Interface in io.jstach.jstache
-
Generates a JStachio Renderer from a template and a model (the annotated class).
- JStacheCatalog - Annotation Interface in io.jstach.jstache
-
Place on package to generate a TemplateProvider/JStachioTemplateFinder that will have a catalog of all public generated JStache templates in the compile time boundary that are of type
JStacheType.JSTACHIO. - JStacheCatalog.CatalogFlag - Enum Class in io.jstach.jstache
-
Configuration flags for generating template catalogs such
META-INF/servicesfiles. - JStacheConfig - Annotation Interface in io.jstach.jstache
-
Set module or package level config for
JStacheannotated models that do not have the configuration explicitly set (e.g. - JStacheContentType - Annotation Interface in io.jstach.jstache
-
Register escapers or filters.
- JStacheContentType.UnspecifiedContentType - Class in io.jstach.jstache
-
A sentinel null object content type marker to auto resolve the content type based on config found elsewhere.
- JStacheFlags - Annotation Interface in io.jstach.jstache
-
Compiler feature flags that are subject to change.
- JStacheFlags.Flag - Enum Class in io.jstach.jstache
-
Compiler flags.
- JStacheFormatter - Annotation Interface in io.jstach.jstache
-
Statically registers a formatter.
- JStacheFormatter.UnspecifiedFormatter - Class in io.jstach.jstache
-
A formatter type marker to resolve the formatter based on config elsewhere.
- JStacheFormatterTypes - Annotation Interface in io.jstach.jstache
-
Statically sets allowed formatting types.
- JStacheInterfaces - Annotation Interface in io.jstach.jstache
-
This annotation is useful to force models and templates implement interfaces or have annotations particularly where you want all models to implement a lambda mixin interface.
- JStacheLambda - Annotation Interface in io.jstach.jstache
-
Tag a method to be used as a mustache lambda section for custom logic.
- JStacheLambda.Raw - Annotation Interface in io.jstach.jstache
-
Tag a method return type of String or parameter of String to be used as a raw unprocessed string.
- JStacheName - Annotation Interface in io.jstach.jstache
-
Configures how to name the generated template java code (the classes generated from JStache annotations).
- JStachePartial - Annotation Interface in io.jstach.jstache
-
Allows you to define and remap/override partials on a model (
JStache) - JStachePartials - Annotation Interface in io.jstach.jstache
-
Allows you to define and remap/override partials on a model.
- JStachePath - Annotation Interface in io.jstach.jstache
-
Configure how the paths of templates map to actual source resources.
- JStacheType - Enum Class in io.jstach.jstache
-
Tells the annotation processor what kind of code to generate namely whether to generate full fledged jstachio templates (default
JStacheType.JSTACHIO) or zero dependency templates (JStacheType.STACHE). - JSTACHIO - Enum constant in enum class io.jstach.jstache.JStacheType
-
The default code generation which allows reflective access to templates and requires the jstachio runtime (io.jstach.jstachio).
L
- LAST_BINDING_NAME - Static variable in annotation interface io.jstach.jstache.JStache
-
A handlebars inspired virtual variable that is bound while in list contexts.
- LAST_JMUSTACHE_BINDING_NAME - Static variable in annotation interface io.jstach.jstache.JStache
-
A JMustache inspired virtual variable that is bound while in list contexts.
M
- mediaType() - Element in annotation interface io.jstach.jstache.JStacheContentType
-
Media Type of the template to help in renderer lookup.
- modelImplements() - Element in annotation interface io.jstach.jstache.JStacheInterfaces
-
Will check that all models in the annotated class/package/module annotated with
JStacheimplement the array of interfaces.
N
- name() - Element in annotation interface io.jstach.jstache.JStache
-
Name of generated class.
- name() - Element in annotation interface io.jstach.jstache.JStacheCatalog
-
Name of the generated class that will be put in the annotated package.
- name() - Element in annotation interface io.jstach.jstache.JStacheLambda
-
The logical name of the lambda.
- name() - Element in annotation interface io.jstach.jstache.JStachePartial
-
The logical name of the template.
- naming() - Element in annotation interface io.jstach.jstache.JStacheConfig
-
If
JStache.name()is blank the name of the generated class is derived from the models class name and then augmented withJStacheName.prefix()andJStacheName.suffix(). - NO_INVERTED_BROKEN_CHAIN - Enum constant in enum class io.jstach.jstache.JStacheFlags.Flag
-
Per mustache spec dotted names can actually not exist at all for inverted sections.
- NO_NULL_CHECKING - Enum constant in enum class io.jstach.jstache.JStacheFlags.Flag
-
EXPERIMENTAL: Normally falsey is either empty list, boolean false, or
null. - nullableAnnotation() - Element in annotation interface io.jstach.jstache.JStacheFlags
-
EXPERIMENTAL: Annotation to use for marking nullable types in generated code.
P
- path() - Element in annotation interface io.jstach.jstache.JStache
-
Resource path to template
- path() - Element in annotation interface io.jstach.jstache.JStachePartial
-
The physical path of the template.
- pathing() - Element in annotation interface io.jstach.jstache.JStacheConfig
-
If
JStache.path()is not blank the path of the template is resolved by augmenting withJStachePath.prefix()andJStachePath.suffix(). - patterns() - Element in annotation interface io.jstach.jstache.JStacheFormatterTypes
-
List of regex used to match whitelist class names that are allowed to be formatted.
- PRE_ENCODE_DISABLE - Enum constant in enum class io.jstach.jstache.JStacheFlags.Flag
-
If set the templates will NOT have pre-encoded bytes of the static parts of the template and the generated
JStacheType.JSTACHIOcode will not implementio.jstach.jstachio.Template.EncodedTemplate. - prefix() - Element in annotation interface io.jstach.jstache.JStacheName
-
If
JStache.name()is blank the name of the generated class is derived from the models class name plus the return value if the return value is not ""*"". - prefix() - Element in annotation interface io.jstach.jstache.JStachePath
-
Will prefix the path.
- providesMethod() - Element in annotation interface io.jstach.jstache.JStacheContentType
-
A static method that will return an implementation of
io.jstach.api.runtime.EscaperorFunction<String,String> - providesMethod() - Element in annotation interface io.jstach.jstache.JStacheFormatter
-
A static method that will return an implementation of
io.jstach.api.runtime.FormatterorFunction<Object,String>
R
- RESOURCES_PATH_OPTION - Static variable in annotation interface io.jstach.jstache.JStache
-
An annotation processor compiler flag ("jstache.resourcesPath") that says where the templates files are located.
- ROOT_BINDING_NAME - Static variable in annotation interface io.jstach.jstache.JStache
-
A virtual variable that is direct analog to handlebars
@root.
S
- SECTION_PARTIAL_NAME - Static variable in annotation interface io.jstach.jstache.JStacheLambda
-
Name of the partial to render the section body of a lambda call.
- STACHE - Enum constant in enum class io.jstach.jstache.JStacheType
-
Zero runtime dependency renderers are generated if this is selected.
- suffix() - Element in annotation interface io.jstach.jstache.JStacheName
-
If
JStache.name()is blank the name of the generated class is derived from the models class name plus the return value if the return value is not ""*"". - suffix() - Element in annotation interface io.jstach.jstache.JStachePath
-
Suffix the path.
T
- template() - Element in annotation interface io.jstach.jstache.JStache
-
Inline the template as a Java string instead of a file.
- template() - Element in annotation interface io.jstach.jstache.JStacheLambda
-
An inline template used for rendering the returned model that has access to the lambda section body as a partial.
- template() - Element in annotation interface io.jstach.jstache.JStachePartial
-
Inline template.
- templateAnnotations() - Element in annotation interface io.jstach.jstache.JStacheInterfaces
-
Will make all generated templates that are in the annotated class/package/module be annotated with the array of annotations.
- templateExtends() - Element in annotation interface io.jstach.jstache.JStacheInterfaces
-
Will make all generated templates that are in the annotated class/package/module extened a class.
- templateImplements() - Element in annotation interface io.jstach.jstache.JStacheInterfaces
-
Will make all generated templates that are in the annotated class/package/module implement the array of interfaces.
- type() - Element in annotation interface io.jstach.jstache.JStacheConfig
-
Determines what style of of code to generate.
- types() - Element in annotation interface io.jstach.jstache.JStacheFormatterTypes
-
Whitelist classes that will be allowed to be passed to the formatter.
U
- UNSPECIFIED - Enum constant in enum class io.jstach.jstache.JStacheFlags.Flag
-
Flag to indicate nothing is set.
- UNSPECIFIED - Enum constant in enum class io.jstach.jstache.JStacheType
-
This effectively means not set and to let other
JStacheConfigdetermine the setting. - UNSPECIFIED - Static variable in annotation interface io.jstach.jstache.JStacheName
-
The value to mean the suffix and prefix is not set.
- UNSPECIFIED - Static variable in annotation interface io.jstach.jstache.JStachePath
-
The value to mean the suffix and prefix is not set.
- using() - Element in annotation interface io.jstach.jstache.JStacheConfig
-
Imports configuration from another class annotated by this or other JStache annotations.
V
- value() - Element in annotation interface io.jstach.jstache.JStachePartials
-
Multiple partial mappings.
- valueOf(String) - Static method in enum class io.jstach.jstache.JStacheCatalog.CatalogFlag
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jstach.jstache.JStacheFlags.Flag
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jstach.jstache.JStacheType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.jstach.jstache.JStacheCatalog.CatalogFlag
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jstach.jstache.JStacheFlags.Flag
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jstach.jstache.JStacheType
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values