Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractJStachio - Class in io.jstach.jstachio.spi
-
An abstract jstachio that just needs a
JStachioExtensions
container. - AbstractJStachio() - Constructor for class io.jstach.jstachio.spi.AbstractJStachio
-
Do nothing constructor
- add(JStachioExtension) - Method in class io.jstach.jstachio.spi.JStachioFactory.Builder
-
Adds an extension
- add(Iterable<JStachioExtension>) - Method in class io.jstach.jstachio.spi.JStachioFactory.Builder
-
Add extensions.
- addInterceptors(InterceptorRegistry) - Method in class io.jstach.opt.spring.webmvc.ViewSetupHandlerInterceptor
- App - Class in io.jstach.opt.spring.example
-
Entry point.
- App - Class in io.jstach.opt.spring.webflux.example
-
Entry point.
- App() - Constructor for class io.jstach.opt.spring.example.App
-
To placate JDK 18 javadoc.
- App() - Constructor for class io.jstach.opt.spring.webflux.example.App
-
To placate JDK 18 javadoc.
- append(A, boolean) - Method in interface io.jstach.jstachio.Appender
-
Write a long by using
String.valueOf(long)
. - append(A, char) - Method in interface io.jstach.jstachio.Appender
-
Appends a character to an appendable.
- append(A, double) - Method in interface io.jstach.jstachio.Appender
-
Write a long by using
String.valueOf(long)
. - append(A, int) - Method in interface io.jstach.jstachio.Appender
-
Write a int by using
String.valueOf(int)
. - append(A, long) - Method in interface io.jstach.jstachio.Appender
-
Write a long by using
String.valueOf(long)
. - append(A, short) - Method in interface io.jstach.jstachio.Appender
-
Write a short by using
String.valueOf(int)
- append(A, CharSequence) - Method in interface io.jstach.jstachio.Appender
-
Analogous to
Appendable.append(CharSequence)
. - append(A, CharSequence, int, int) - Method in interface io.jstach.jstachio.Appender
-
Analogous to
Appendable.append(CharSequence, int, int)
. - Appender<A extends Appendable> - Interface in io.jstach.jstachio
-
A singleton like decorator for appendables that has additional methods for dealing with native types.
- apply(Object) - Method in interface io.jstach.jstachio.Formatter
-
Formats an object by using
StringBuilder
and callingFormatter.format(Appender, Appendable, String, Class, Object)
. - apply(String) - Method in interface io.jstach.jstachio.Escaper
-
Escapes a String by using StringBuilder and calling
Appender.append(Appendable, CharSequence)
.
B
- build() - Method in class io.jstach.jstachio.spi.JStachioFactory.Builder
-
Builds a JStachio by coalescing the extensions.
- builder() - Static method in class io.jstach.jstachio.spi.JStachioFactory
-
A mutable builder to create
JStachio
fromJStachioExtension
s.
C
- cachedTemplateFinder(JStachioTemplateFinder) - Static method in interface io.jstach.jstachio.spi.JStachioTemplateFinder
-
Decorates a template finder with a cache using
ClassValue
with the modelType as the key. - canEncode(ResolvableType, MimeType) - Method in class io.jstach.opt.spring.webflux.JStachioEncoder
- canRead(Class<?>, MediaType) - Method in class io.jstach.opt.spring.web.JStachioHttpMessageConverter
- charset() - Element in annotation interface io.jstach.jstache.JStacheConfig
-
Encoding of template files.
- compose(Iterable<JStachioFilter>) - Static method in interface io.jstach.jstachio.spi.JStachioFilter
-
Creates a composite filter of a many filters.
- configure(Object, Map<String, ?>, HttpServletRequest) - Method in interface io.jstach.opt.spring.webmvc.JStachioModelViewConfigurer
-
Configures a JStache model with the current request and traditional Spring model before being rendered.
- configure(Object, Map<String, Object>, ServerWebExchange) - Method in interface io.jstach.opt.spring.webflux.JStachioModelViewConfigurer
-
Configures a JStache model with the current request and traditional Spring model before being rendered.
- configureHttpMessageCodecs(ServerCodecConfigurer) - Method in class io.jstach.opt.spring.webflux.example.WebConfig
- configureMessageConverters(List<HttpMessageConverter<?>>) - Method in class io.jstach.opt.spring.example.WebConfig
- configurer() - Method in class io.jstach.opt.spring.webflux.example.message.MessageConfiguration
-
Creates the configurer for Spring
- contentType() - Element in annotation interface io.jstach.jstache.JStacheConfig
-
Optional content type for all models in the annotated class/package/module.
- ContextNode - Interface in io.jstach.jstachio.context
-
This interface serves two puproses: A way to represent the current context stack (see
ContextNode.parent()
) Allow you to simulate JSON/Javscript object node like trees without being coupled to a particularly JSON lib.
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_SUFFIX - Static variable in annotation interface io.jstach.jstache.JStacheName
-
The default suffix if no
JStacheName.suffix()
is set anywhere. - defaultAppender() - Static method in interface io.jstach.jstachio.Appender
-
Default appender simply passes the contents unchanged to the Appendable.
- DefaultFormatter - Interface in io.jstach.jstachio.formatters
-
Default formatters.
- defaultJStachio() - Static method in class io.jstach.jstachio.spi.JStachioFactory
-
Provides a singleton JStachio resolved by the
ServiceLoader
- defaults() - Static method in interface io.jstach.jstachio.JStachio
-
Gets default singleton ServiceLoader based jstachio.
- defaultTemplateFinder(JStachioConfig) - Static method in interface io.jstach.jstachio.spi.JStachioTemplateFinder
-
The default template finder that uses reflection and or the ServiceLoader.
- description() - Method in interface io.jstach.jstachio.TemplateInfo
-
Utility method similar to toString that describes the template meta data.
E
- empty() - Static method in interface io.jstach.jstachio.TemplateConfig
-
A config with no provided collaborators.
- encodeValue(Object, DataBufferFactory, ResolvableType, MimeType, Map<String, Object>) - Method in class io.jstach.opt.spring.webflux.JStachioEncoder
- equals(Object) - Method in record class io.jstach.opt.spring.webflux.example.hello.HelloModel
-
Indicates whether some other object is "equal to" this one.
- escaper() - Method in interface io.jstach.jstachio.TemplateConfig
-
The escaper to be used on the template.
- Escaper - Interface in io.jstach.jstachio
-
An Escaper is an
Appender
used to escape content such as HTML. - execute(HelloModel, Appendable) - Method in class io.jstach.opt.spring.example.hello.HelloModelView
- execute(HelloModel, Appendable, Formatter, Escaper) - Method in class io.jstach.opt.spring.example.hello.HelloModelView
- execute(MessagePage, Appendable) - Method in class io.jstach.opt.spring.example.message.MessagePageRenderer
- execute(MessagePage, Appendable, Formatter, Escaper) - Method in class io.jstach.opt.spring.example.message.MessagePageRenderer
- execute(HelloModel, Appendable) - Method in class io.jstach.opt.spring.webflux.example.hello.HelloModelView
- execute(HelloModel, Appendable, Formatter, Escaper) - Method in class io.jstach.opt.spring.webflux.example.hello.HelloModelView
- execute(MessagePage, Appendable) - Method in class io.jstach.opt.spring.webflux.example.message.MessagePageRenderer
- execute(MessagePage, Appendable, Formatter, Escaper) - Method in class io.jstach.opt.spring.webflux.example.message.MessagePageRenderer
- execute(Object) - Method in interface io.jstach.jstachio.JStachio
-
Finds a template by using the models class if possible and then applies filtering and then finally render the model to a String.
- execute(Object) - Method in class io.jstach.jstachio.spi.AbstractJStachio
- execute(Object, Appendable) - Method in interface io.jstach.jstachio.JStachio
-
Finds a template by using the models class if possible and then applies filtering and then finally render the model by writing to the appendable.
- execute(Object, Appendable) - Method in class io.jstach.jstachio.spi.AbstractJStachio
- execute(Object, StringBuilder) - Method in interface io.jstach.jstachio.JStachio
-
Finds a template by using the models class if possible and then applies filtering and then finally render the model by writing to the
StringBuilder
. - execute(Object, StringBuilder) - Method in class io.jstach.jstachio.spi.AbstractJStachio
- execute(T) - Method in interface io.jstach.jstachio.Renderer
-
Convenience method that directly renders the model as a String.
- execute(T, Appendable) - Method in interface io.jstach.jstachio.Renderer
-
Renders the passed in model.
- execute(T, Appendable) - Method in interface io.jstach.jstachio.Template
-
Renders the passed in model.
- execute(T, Appendable, Formatter, Escaper) - Method in interface io.jstach.jstachio.Template
-
Renders the passed in model.
- execute(T, Appendable, Function<Object, String>, Function<String, String>) - Method in interface io.jstach.jstachio.Template
-
Renders the passed in model.
- execute(T, StringBuilder) - Method in interface io.jstach.jstachio.Renderer
-
A convenience method that does not throw
IOException
when using StringBuilder. - extensions() - Method in interface io.jstach.jstachio.spi.JStachioExtensions.Provider
-
The available extensions.
- extensions() - Method in class io.jstach.jstachio.spi.JStachioFactory.Builder
-
Current mutable list of extensions.
- extensions() - Method in class io.jstach.opt.spring.SpringJStachio
F
- filter(TemplateInfo) - Method in interface io.jstach.jstachio.spi.JStachioFilter
-
Applies filter with previous filter broken unless the parameter template is a
JStachioFilter.FilterChain
or is aTemplate
which generated renderers usually are. - filter(TemplateInfo, JStachioFilter.FilterChain) - Method in interface io.jstach.jstachio.spi.JStachioFilter
-
Advises or filters a previously created filter.
- filter(TemplateInfo, JStachioFilter.FilterChain) - Method in class io.jstach.opt.jmustache.JMustacheRenderer
- find(String) - Method in interface io.jstach.jstachio.context.ContextNode
-
Will search up the tree for a field starting at this nodes children first.
- findExtension(Class<T>) - Method in interface io.jstach.jstachio.spi.JStachioExtensions
-
Finds a specific implementation using
Class.isAssignableFrom(Class)
. - findTemplate(Class<?>) - Method in interface io.jstach.jstachio.spi.JStachioTemplateFinder
-
Finds a
Template
if possible otherwise possibly falling back to aTemplateInfo
based on annotation metadata or some other mechanism. - findTemplate(Class<?>, JStachioConfig) - Static method in class io.jstach.jstachio.spi.Templates
-
Finds a
Template
if possible otherwise falling back to aTemplateInfo
based on annotation metadata. - flags() - Element in annotation interface io.jstach.jstache.JStacheFlags
-
Compiler flags that will be used on for this model.
- format(APPENDER, A, String, boolean) - Method in interface io.jstach.jstachio.Formatter
-
Formats the object and then sends the results to the downstream appender.
- format(APPENDER, A, String, char) - Method in interface io.jstach.jstachio.Formatter
-
Formats the object and then sends the results to the downstream appender.
- format(APPENDER, A, String, double) - Method in interface io.jstach.jstachio.Formatter
-
Formats the object and then sends the results to the downstream appender.
- format(APPENDER, A, String, int) - Method in interface io.jstach.jstachio.Formatter
-
Formats the object and then sends the results to the downstream appender.
- format(APPENDER, A, String, long) - Method in interface io.jstach.jstachio.Formatter
-
Formats the object and then sends the results to the downstream appender.
- format(APPENDER, A, String, short) - Method in interface io.jstach.jstachio.Formatter
-
Formats the object and then sends the results to the downstream appender.
- format(APPENDER, A, String, Class<?>, Object) - Method in interface io.jstach.jstachio.Formatter
-
Formats the object and then sends the results to the downstream appender.
- format(APPENDER, A, String, Class<?>, Object) - Method in interface io.jstach.jstachio.formatters.DefaultFormatter
-
Formats the object and then sends the results to the downstream appender.
- format(APPENDER, A, String, Class<?>, Object) - Method in interface io.jstach.jstachio.formatters.SpecFormatter
-
Formats the object and then sends the results to the downstream appender.
- format(APPENDER, A, String, String) - Method in interface io.jstach.jstachio.Formatter
-
Formats the object and then sends the results to the downstream appender.
- format(APPENDER, A, String, String) - Method in interface io.jstach.jstachio.formatters.DefaultFormatter
-
Formats the object and then sends the results to the downstream appender.
- format(APPENDER, A, String, String) - Method in interface io.jstach.jstachio.formatters.SpecFormatter
-
Formats the object and then sends the results to the downstream appender.
- formatter() - Element in annotation interface io.jstach.jstache.JStacheConfig
-
Optional formatter if not UNSPECIFIED for all models in the annotated class/package/module .
- formatter() - Method in interface io.jstach.jstachio.TemplateConfig
-
The base formatter to be used on the template.
- Formatter - Interface in io.jstach.jstachio
-
Formats and then sends the results to the downstream appender.
G
- get(String) - Method in interface io.jstach.jstachio.context.ContextNode
-
Gets a field from a
Map
if ContextNode is wrapping one. - getBoolean(String) - Method in interface io.jstach.jstachio.spi.JStachioConfig
- getBoolean(String, boolean) - Method in interface io.jstach.jstachio.spi.JStachioConfig
-
Gets the property as a boolean and if no property value is found the fallback is used.
- getConfig() - Method in interface io.jstach.jstachio.spi.JStachioExtensions
-
Composite Config
- getExtensions() - Method in interface io.jstach.jstachio.spi.JStachioExtensions
-
Services
- getFilter() - Method in interface io.jstach.jstachio.spi.JStachioExtensions
-
Composite Filter
- getInfoByReflection(Class<?>) - Static method in class io.jstach.jstachio.spi.Templates
-
Finds template info by accessing JStache annotations through reflective lookup.
- getLogger(String) - Method in interface io.jstach.jstachio.spi.JStachioConfig
-
Gets a system logger if the property
JStachioConfig.LOGGING_DISABLE
isfalse
. - getProperty(String) - Method in interface io.jstach.jstachio.spi.JStachioConfig
-
Gets a property from some config implementation.
- getSupportedMediaTypes() - Method in interface io.jstach.opt.spring.webflux.JStachioModelView
- getTemplate(Class<T>) - Static method in class io.jstach.jstachio.spi.Templates
-
Finds a template by reflection or an exception is thrown.
- getTemplateFinder() - Method in interface io.jstach.jstachio.spi.JStachioExtensions
-
Composite Template finder
H
- hashCode() - Method in record class io.jstach.opt.spring.webflux.example.hello.HelloModel
-
Returns a hash code value for this object.
- hello() - Method in class io.jstach.opt.spring.webflux.example.hello.HelloController
-
Here we use JStachio runtime to resolve the renderer (in this case we are calling them Views) via Springs Http Message Converter.
- HelloController - Class in io.jstach.opt.spring.webflux.example.hello
-
Example hello world controller using different ways to use JStachio for web development.
- HelloController() - Constructor for class io.jstach.opt.spring.webflux.example.hello.HelloController
-
Placate JDK 18 Javadoc
- HelloModel - Record Class in io.jstach.opt.spring.webflux.example.hello
-
Model using a resource template that is in src/main/resources/views.
- HelloModel(String) - Constructor for record class io.jstach.opt.spring.webflux.example.hello.HelloModel
-
Creates an instance of a
HelloModel
record class. - HelloModelView - Class in io.jstach.opt.spring.example.hello
-
Generated Renderer.
- HelloModelView - Class in io.jstach.opt.spring.webflux.example.hello
-
Generated Renderer.
- HelloModelView() - Constructor for class io.jstach.opt.spring.example.hello.HelloModelView
-
Renderer constructor for reflection (use of() instead).
- HelloModelView() - Constructor for class io.jstach.opt.spring.webflux.example.hello.HelloModelView
-
Renderer constructor for reflection (use of() instead).
- HelloModelView(TemplateConfig) - Constructor for class io.jstach.opt.spring.example.hello.HelloModelView
-
Renderer constructor using config.
- HelloModelView(TemplateConfig) - Constructor for class io.jstach.opt.spring.webflux.example.hello.HelloModelView
-
Renderer constructor using config.
- HelloModelView(Function<Object, String>, Function<String, String>) - Constructor for class io.jstach.opt.spring.example.hello.HelloModelView
-
Renderer constructor for manual wiring.
- HelloModelView(Function<Object, String>, Function<String, String>) - Constructor for class io.jstach.opt.spring.webflux.example.hello.HelloModelView
-
Renderer constructor for manual wiring.
- Html - Class in io.jstach.jstachio.escapers
-
Provides a mustache spec based HTML escaper which is the default in normal mustache.
I
- init(JStachioConfig) - Method in interface io.jstach.jstachio.spi.JStachioExtensionProvider
-
Called before the extensions are used but after
JStachioExtensionProvider.provideConfig()
. - init(JStachioConfig) - Method in class io.jstach.opt.jmustache.JMustacheRenderer
- 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.jstache - package io.jstach.jstache
-
Compile time annotations for jstachio.
- io.jstach.jstachio - module io.jstach.jstachio
-
JStachio Core Runtime API.
- io.jstach.jstachio - package io.jstach.jstachio
-
JStachio Core Runtime API
- io.jstach.jstachio.context - package io.jstach.jstachio.context
-
JStachio extended Mustache context support for context stack as well as Map and JSON tree like models.
- io.jstach.jstachio.escapers - package io.jstach.jstachio.escapers
-
Builtin Escapers.
- io.jstach.jstachio.formatters - package io.jstach.jstachio.formatters
-
Builtin Formatters.
- io.jstach.jstachio.spi - package io.jstach.jstachio.spi
-
JStachio Service Provider extension points API.
- io.jstach.opt.jmustache - module io.jstach.opt.jmustache
-
JMustache extension to JStachio to enable dynamic development of templates.
- io.jstach.opt.jmustache - package io.jstach.opt.jmustache
-
JMustache extension to JStachio to enable dynamic development of templates.
- io.jstach.opt.spring - module io.jstach.opt.spring
-
JStachio Spring integration module.
- io.jstach.opt.spring - package io.jstach.opt.spring
-
JStachio Spring Core Integration
- io.jstach.opt.spring.example - module io.jstach.opt.spring.example
-
Spring Web MVC example app for JStachio.
- io.jstach.opt.spring.example - package io.jstach.opt.spring.example
-
Spring Boot MVC application using JStachio.
- io.jstach.opt.spring.web - package io.jstach.opt.spring.web
-
Spring Web integration
- io.jstach.opt.spring.webflux - module io.jstach.opt.spring.webflux
-
JStachio Spring Webflux integration module.
- io.jstach.opt.spring.webflux - package io.jstach.opt.spring.webflux
-
Spring Webflux integration
- io.jstach.opt.spring.webflux.example - module io.jstach.opt.spring.webflux.example
-
Spring Webflux example app for JStachio.
- io.jstach.opt.spring.webflux.example - package io.jstach.opt.spring.webflux.example
-
Spring Boot MVC application using JStachio.
- io.jstach.opt.spring.webflux.example.hello - package io.jstach.opt.spring.webflux.example.hello
-
Spring Boot MVC components using JStachio.
- io.jstach.opt.spring.webflux.example.message - package io.jstach.opt.spring.webflux.example.message
-
Spring Boot MVC components using JStachio.
- io.jstach.opt.spring.webmvc - module io.jstach.opt.spring.webmvc
-
JStachio Spring webmvc module.
- io.jstach.opt.spring.webmvc - package io.jstach.opt.spring.webmvc
-
Spring Web MVC integration
- isBroken(Object) - Method in interface io.jstach.jstachio.spi.JStachioFilter.FilterChain
-
A marker method that the filter is broken and should not be used.
- isFalsey(Object) - Static method in interface io.jstach.jstachio.context.ContextNode
-
Determines if an object is falsey based on mustache spec semantics where:
null
, empty iterables, empty arrays and booleanfalse
are falsey. - iterator() - Method in interface io.jstach.jstachio.context.ContextNode
-
If the node is a Map or a non iterable/array a singleton iterator will be returned.
J
- jmustache() - Method in class io.jstach.opt.spring.example.SpringTemplateConfig
-
The JMustache plugin to render templates while editing in development mode.
- JMustacheRenderer - Class in io.jstach.opt.jmustache
-
Use JMustache instead of JStachio for rendering.
- JMustacheRenderer() - Constructor for class io.jstach.opt.jmustache.JMustacheRenderer
-
No-arg constructor for ServiceLoader
- JStache - Annotation Interface in io.jstach.jstache
-
Generates a JStachio Renderer from a template and a model (the annotated class).
- JStacheConfig - Annotation Interface in io.jstach.jstache
-
Set module or package level config for
JStache
annotated 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 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.
- 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() - Method in interface io.jstach.opt.spring.webflux.JStachioModelView
-
Returns the jstachio singleton by default.
- jstachio() - Method in interface io.jstach.opt.spring.webmvc.JStachioModelView
-
Returns the jstachio singleton by default.
- jstachio(List<JStachioExtension>) - Method in class io.jstach.opt.spring.example.SpringTemplateConfig
-
Creates jstachio from found plugins
- jstachio(List<JStachioExtension>) - Method in class io.jstach.opt.spring.webflux.example.SpringTemplateConfig
-
Creates jstachio from found plugins
- JStachio - Interface in io.jstach.jstachio
-
Render models by using reflection to lookup generated templates as well as apply filtering and fallback mechanisms.
- 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).
- JSTACHIO_JMUSTACHE_DISABLE - Static variable in class io.jstach.opt.jmustache.JMustacheRenderer
-
Property key to disable jmustache.
- JSTACHIO_JMUSTACHE_SOURCE_PATH - Static variable in class io.jstach.opt.jmustache.JMustacheRenderer
-
Property key of where jmustache will try to load template files.
- JStachioConfig - Interface in io.jstach.jstachio.spi
-
Runtime Config Service.
- JStachioEncoder - Class in io.jstach.opt.spring.webflux
-
Encodes a JStachio model into a bytes to be used as output from a webflux reactive controller.
- JStachioEncoder(JStachio) - Constructor for class io.jstach.opt.spring.webflux.JStachioEncoder
-
Create the encoder from a JStachio
- JStachioExtension - Interface in io.jstach.jstachio.spi
-
An SPI extension point via the
ServiceLoader
or other mechanisms like DI. - JStachioExtensionProvider - Interface in io.jstach.jstachio.spi
-
An extension that is a factory that provides other extensions.
- JStachioExtensions - Interface in io.jstach.jstachio.spi
-
A container that will hold all resolved
JStachioExtension
s and consolidate them to a single instances of various services. - JStachioExtensions.Provider - Interface in io.jstach.jstachio.spi
-
A marker interface used for JStachio implementations that provide access to extensions.
- JStachioFactory - Class in io.jstach.jstachio.spi
-
Creates JStachios mainly with the
ServiceLoader
or aJStachioFactory.Builder
. - JStachioFactory.Builder - Class in io.jstach.jstachio.spi
-
Builder for creating jstachios.
- JStachioFilter - Interface in io.jstach.jstachio.spi
-
Advises or filters a previously applied template.
- JStachioFilter.FilterChain - Interface in io.jstach.jstachio.spi
-
A fully composed chain that renders a model by applying filtering.
- JStachioHttpMessageConverter - Class in io.jstach.opt.spring.web
-
Typesafe way to use JStachio in Spring Web.
- JStachioHttpMessageConverter(JStachio) - Constructor for class io.jstach.opt.spring.web.JStachioHttpMessageConverter
-
Create http converter from jstachio
- JStachioModelView - Interface in io.jstach.opt.spring.webflux
-
One way to use JStachio with Spring Webflux is to use this special View that will delegate to JStachio to render.
- JStachioModelView - Interface in io.jstach.opt.spring.webmvc
-
Another way to use JStachio with Spring MVC is to have models implement Springs
View
interface. - JStachioModelViewConfigurer - Interface in io.jstach.opt.spring.webflux
-
User can provide instances in the application context and they will be applied to each
JStachioModelView
instance before rendering. - JStachioModelViewConfigurer - Interface in io.jstach.opt.spring.webmvc
-
User can provide instances in the application context and they will be applied to each
JStachioModelView
instance before rendering. - jstachioService(Environment, List<Template<?>>) - Method in class io.jstach.opt.spring.example.SpringTemplateConfig
-
Creates a services based on spring objects.
- jstachioService(Environment, List<Template<?>>) - Method in class io.jstach.opt.spring.webflux.example.SpringTemplateConfig
-
Creates a services based on spring objects.
- JStachioTemplateFinder - Interface in io.jstach.jstachio.spi
-
Finds templates based on the model type (class).
L
- lastLoaded() - Method in interface io.jstach.jstachio.TemplateInfo
-
The last loaded time if applicable.
- LOGGING_DISABLE - Static variable in interface io.jstach.jstachio.spi.JStachioConfig
-
Config key to disable if logging.
M
- main(String[]) - Static method in class io.jstach.opt.spring.example.App
-
Canonical entry point that will launch Spring
- main(String[]) - Static method in class io.jstach.opt.spring.webflux.example.App
-
Canonical entry point that will launch Spring
- mediaType() - Element in annotation interface io.jstach.jstache.JStacheContentType
-
Media Type of the template to help in renderer lookup.
- message - Variable in class io.jstach.opt.spring.webflux.example.message.MessagePage
-
An example of field access.
- message() - Method in record class io.jstach.opt.spring.webflux.example.hello.HelloModel
-
Returns the value of the
message
record component. - message() - Method in class io.jstach.opt.spring.webflux.example.message.MessageController
-
Here we use the global configurer to inject state into the
View
. - MessageConfiguration - Class in io.jstach.opt.spring.webflux.example.message
-
Spring configuration to add a
JStachioModelViewConfigurer
for MessagePage. - MessageConfiguration() - Constructor for class io.jstach.opt.spring.webflux.example.message.MessageConfiguration
- MessageController - Class in io.jstach.opt.spring.webflux.example.message
-
Example controller that uses a View which has global state injected into it via a handler interceptor.
- MessageController() - Constructor for class io.jstach.opt.spring.webflux.example.message.MessageController
- MessagePage - Class in io.jstach.opt.spring.webflux.example.message
-
Model using a configurer to add state.
- MessagePage() - Constructor for class io.jstach.opt.spring.webflux.example.message.MessagePage
- MessagePageRenderer - Class in io.jstach.opt.spring.example.message
-
Generated Renderer.
- MessagePageRenderer - Class in io.jstach.opt.spring.webflux.example.message
-
Generated Renderer.
- MessagePageRenderer() - Constructor for class io.jstach.opt.spring.example.message.MessagePageRenderer
-
Renderer constructor for reflection (use of() instead).
- MessagePageRenderer() - Constructor for class io.jstach.opt.spring.webflux.example.message.MessagePageRenderer
-
Renderer constructor for reflection (use of() instead).
- MessagePageRenderer(TemplateConfig) - Constructor for class io.jstach.opt.spring.example.message.MessagePageRenderer
-
Renderer constructor using config.
- MessagePageRenderer(TemplateConfig) - Constructor for class io.jstach.opt.spring.webflux.example.message.MessagePageRenderer
-
Renderer constructor using config.
- MessagePageRenderer(Function<Object, String>, Function<String, String>) - Constructor for class io.jstach.opt.spring.example.message.MessagePageRenderer
-
Renderer constructor for manual wiring.
- MessagePageRenderer(Function<Object, String>, Function<String, String>) - Constructor for class io.jstach.opt.spring.webflux.example.message.MessagePageRenderer
-
Renderer constructor for manual wiring.
- model() - Method in interface io.jstach.opt.spring.webflux.JStachioModelView
-
The model to be rendered by
JStachioModelView.jstachio()
. - model() - Method in interface io.jstach.opt.spring.webmvc.JStachioModelView
-
The model to be rendered by
JStachioModelView.jstachio()
. - modelClass() - Method in interface io.jstach.jstachio.Template
-
Return the model class (root context class annotated with JStache) that generated this template.
- modelClass() - Method in class io.jstach.opt.spring.example.hello.HelloModelView
-
Model class.
- modelClass() - Method in class io.jstach.opt.spring.example.message.MessagePageRenderer
-
Model class.
- modelClass() - Method in class io.jstach.opt.spring.webflux.example.hello.HelloModelView
-
Model class.
- modelClass() - Method in class io.jstach.opt.spring.webflux.example.message.MessagePageRenderer
-
Model class.
- modelImplements() - Element in annotation interface io.jstach.jstache.JStacheInterfaces
-
Will check that all models in the annotated class/package/module annotated with
JStache
implement the array of interfaces. - mvc() - Method in class io.jstach.opt.spring.webflux.example.hello.HelloController
-
Here we use
JStacheInterfaces
to make our model implement a Spring View to support the traditional servlet MVC approach.
N
- name() - Element in annotation interface io.jstach.jstache.JStache
-
Name of generated class.
- 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.
- noopLogger() - Static method in interface io.jstach.jstachio.spi.JStachioConfig
-
NOOP Logger that will not trigger initialization of the System
System.Logger
facilities. - normalizePath() - Method in interface io.jstach.jstachio.TemplateInfo
-
Normalizes the path to used by
ClassLoader.getResource(String)
.
O
- object() - Method in interface io.jstach.jstachio.context.ContextNode
-
The object being wrapped.
- of() - Static method in interface io.jstach.jstachio.JStachio
-
Gets the static singleton jstachio.
- of() - Static method in class io.jstach.opt.spring.example.hello.HelloModelView
-
Convience static factory that will reuse the same singleton instance.
- of() - Static method in class io.jstach.opt.spring.example.message.MessagePageRenderer
-
Convience static factory that will reuse the same singleton instance.
- of() - Static method in class io.jstach.opt.spring.webflux.example.hello.HelloModelView
-
Convience static factory that will reuse the same singleton instance.
- of() - Static method in class io.jstach.opt.spring.webflux.example.message.MessagePageRenderer
-
Convience static factory that will reuse the same singleton instance.
- of(JStachioExtension) - Static method in interface io.jstach.jstachio.spi.JStachioExtensionProvider
-
Creates a provider from an extension.
- of(Iterable<JStachioExtension>) - Static method in interface io.jstach.jstachio.spi.JStachioExtensions
-
Resolve from an iterable of extensions that usually come from some discovery mechanism like the
ServiceLoader
or a DI framework. - of(Object) - Static method in interface io.jstach.opt.spring.webflux.JStachioModelView
-
Creates a spring view from a model
- of(Object) - Static method in interface io.jstach.opt.spring.webmvc.JStachioModelView
-
Creates a spring view from a model with content type: "
text/html; charset=utf-8
". - of(Object, String) - Static method in interface io.jstach.opt.spring.webmvc.JStachioModelView
-
Creates a spring view from a model.
- of(Function<Object, String>) - Static method in interface io.jstach.jstachio.Formatter
-
Adapts a function to a formatter.
- of(Function<String, String>) - Static method in interface io.jstach.jstachio.Escaper
-
Adapts a function to an Escaper.
- ofChild(int, Object) - Method in interface io.jstach.jstachio.context.ContextNode
-
Creates an indexed child node off of this node where the return child nodes parent will be this node.
- ofChild(String, Object) - Method in interface io.jstach.jstachio.context.ContextNode
-
Creates a named child node off of this node where the return child nodes parent will be this node.
- ofRoot(Object) - Static method in interface io.jstach.jstachio.context.ContextNode
-
Creates the root node which has no name.
- order() - Method in interface io.jstach.jstachio.spi.JStachioFilter
-
Hint on order of filter chain.
- order() - Method in interface io.jstach.jstachio.spi.JStachioTemplateFinder
-
Hint on order of template finders.
P
- parent() - Method in interface io.jstach.jstachio.context.ContextNode
-
The parent node.
- 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.
- PlainText - Class in io.jstach.jstachio.escapers
-
Provides NOOP escaper for working with plain text.
- postHandle(HttpServletRequest, HttpServletResponse, Object, ModelAndView) - Method in class io.jstach.opt.spring.webmvc.ViewSetupHandlerInterceptor
-
If the modelAndView is a
JStachioModelView
then it will be configured with all of the foundJStachioModelViewConfigurer
in the application context. - postProcessAfterInitialization(Object, String) - Method in class io.jstach.opt.spring.webflux.ViewSetupBeanPostProcessor
-
Look for a
ViewResolutionResultHandler
and replace it with a wrapper that configuresJStachioModelView
instance using theJStachioModelViewConfigurer
s in the current context. - 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.
- prefix(String) - Method in class io.jstach.opt.jmustache.JMustacheRenderer
-
A prefix to add to the output to know that JMustache is being used.
- process(Object, Appendable) - Method in interface io.jstach.jstachio.spi.JStachioFilter.FilterChain
-
Renders the passed in model.
- provideConfig() - Method in interface io.jstach.jstachio.spi.JStachioExtensionProvider
-
Provide a config or not.
- provideConfig() - Method in class io.jstach.opt.spring.SpringJStachioExtension
-
Provide a config or not.
- provideFilter() - Method in interface io.jstach.jstachio.spi.JStachioExtensionProvider
-
Provide a filter or not.
- provideFilter() - Method in class io.jstach.opt.jmustache.JMustacheRenderer
-
Provide a filter or not.
- provider() - Static method in class io.jstach.jstachio.escapers.Html
-
Provides the escaper.
- provider() - Static method in class io.jstach.jstachio.escapers.PlainText
-
Provides the escaper for static lookup.
- provider() - Static method in interface io.jstach.jstachio.formatters.DefaultFormatter
-
Provides the default formatter for static lookup.
- provider() - Static method in interface io.jstach.jstachio.formatters.SpecFormatter
-
Provides the formatter for static lookup.
- providesMethod() - Element in annotation interface io.jstach.jstache.JStacheContentType
-
A static method that will return an implementation of
io.jstach.api.runtime.Escaper
orFunction<String,String>
- providesMethod() - Element in annotation interface io.jstach.jstache.JStacheFormatter
-
A static method that will return an implementation of
io.jstach.api.runtime.Formatter
orFunction<Object,String>
- provideTemplateFinder() - Method in interface io.jstach.jstachio.spi.JStachioExtensionProvider
-
Provide a template finder or not.
- provideTemplateFinder() - Method in class io.jstach.opt.spring.SpringJStachioExtension
-
Provide a template finder or not.
- provideTemplates() - Method in interface io.jstach.jstachio.spi.TemplateProvider
-
Provides templates with empty config.
- provideTemplates(TemplateConfig) - Method in interface io.jstach.jstachio.spi.TemplateProvider
-
Provides a list of instantiated renderers.
R
- REFLECTION_TEMPLATE_DISABLE - Static variable in interface io.jstach.jstachio.spi.JStachioConfig
-
Config key to disable reflection based lookup of templates for other fallback mechanisms
- render(HelloModel, A, Formatter, Appender<? super A>, Appender<A>) - Static method in class io.jstach.opt.spring.example.hello.HelloModelView
-
Renders the passed in model.
- render(MessagePage, A, Formatter, Appender<? super A>, Appender<A>) - Static method in class io.jstach.opt.spring.example.message.MessagePageRenderer
-
Renders the passed in model.
- render(HelloModel, A, Formatter, Appender<? super A>, Appender<A>) - Static method in class io.jstach.opt.spring.webflux.example.hello.HelloModelView
-
Renders the passed in model.
- render(MessagePage, A, Formatter, Appender<? super A>, Appender<A>) - Static method in class io.jstach.opt.spring.webflux.example.message.MessagePageRenderer
-
Renders the passed in model.
- render(Object) - Static method in interface io.jstach.jstachio.JStachio
-
Executes the ServiceLoader instance of JStachio
JStachio.execute(Object)
. - render(Object, Appendable) - Static method in interface io.jstach.jstachio.JStachio
-
Executes the ServiceLoader instance of JStachio
JStachio.execute(Object, Appendable)
. - render(Object, StringBuilder) - Static method in interface io.jstach.jstachio.JStachio
-
Executes the ServiceLoader instance of JStachio
JStachio.execute(Object, StringBuilder)
. - render(Map<String, ?>, HttpServletRequest, HttpServletResponse) - Method in interface io.jstach.opt.spring.webmvc.JStachioModelView
- render(Map<String, ?>, MediaType, ServerWebExchange) - Method in interface io.jstach.opt.spring.webflux.JStachioModelView
- Renderer<T> - Interface in io.jstach.jstachio
-
Renders models of type
T
by writing to an Appendable. - renderString() - Method in interface io.jstach.jstachio.context.ContextNode
-
Convenience method for calling
toString
on the wrapped object. - requireProperty(String, String) - Method in interface io.jstach.jstachio.spi.JStachioConfig
-
A NonNull friendly analog of
System.getProperty(String, String)
that will never return null unlike System.getProperty which is PolyNull. - RESOURCE - Enum constant in enum class io.jstach.jstachio.TemplateInfo.TemplateSource
-
Template was retrieved from the classpath at compile time.
- 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.
S
- setStaticJStachio(Supplier<JStachio>) - Static method in interface io.jstach.jstachio.JStachio
-
Set the static singleton of JStachio.
- sourcePath(String) - Method in class io.jstach.opt.jmustache.JMustacheRenderer
-
Sets the relative to the project sourcePath for runtime lookup of templates.
- SpecFormatter - Interface in io.jstach.jstachio.formatters
-
Formatter that follows the spec rules that if a variable is
null
it will be an empty string (ie NOOP). - SpringJStachio - Class in io.jstach.opt.spring
-
A JStachio that does not use the service loader.
- SpringJStachio(List<JStachioExtension>) - Constructor for class io.jstach.opt.spring.SpringJStachio
-
Passed the found services usually injected by Spring.
- SpringJStachioExtension - Class in io.jstach.opt.spring
-
JStachio services based on Spring notably the
config
andtemplate finding
. - SpringJStachioExtension(Environment, List<Template<?>>) - Constructor for class io.jstach.opt.spring.SpringJStachioExtension
-
Constructor for injection
- SpringTemplateConfig - Class in io.jstach.opt.spring.example
-
Configures JStachio Spring style.
- SpringTemplateConfig - Class in io.jstach.opt.spring.webflux.example
-
Configures JStachio Spring style.
- SpringTemplateConfig() - Constructor for class io.jstach.opt.spring.example.SpringTemplateConfig
-
Do nothing constructor to placate jdk 18 javadoc
- SpringTemplateConfig() - Constructor for class io.jstach.opt.spring.webflux.example.SpringTemplateConfig
-
Do nothing constructor to placate jdk 18 javadoc
- STACHE - Enum constant in enum class io.jstach.jstache.JStacheType
-
Zero runtime dependency renderers are generated if this is selected.
- STRING - Enum constant in enum class io.jstach.jstachio.TemplateInfo.TemplateSource
-
Template was inlined as a String literal
- stringAppender() - Static method in interface io.jstach.jstachio.Appender
-
An appender that will directly call StringBuilder methods for native types.
- 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.
- suffix(String) - Method in class io.jstach.opt.jmustache.JMustacheRenderer
-
A suffix to append to the output to know that JMustache is being used.
- supportsType(Class<?>) - Method in interface io.jstach.jstachio.JStachio
-
Determines if this jstachio can render the model type (the class annotated by JStache).
- supportsType(Class<?>) - Method in class io.jstach.jstachio.spi.AbstractJStachio
- supportsType(Class<?>) - Method in interface io.jstach.jstachio.spi.JStachioTemplateFinder
-
Determines if this template finder has a template for the model type (the class annotated by JStache).
- supportsType(Class<?>) - Method in interface io.jstach.jstachio.TemplateInfo
-
Checks to see if a template supports the model class.
- supportsType(Class<?>) - Method in class io.jstach.opt.spring.example.hello.HelloModelView
- supportsType(Class<?>) - Method in class io.jstach.opt.spring.example.message.MessagePageRenderer
- supportsType(Class<?>) - Method in class io.jstach.opt.spring.webflux.example.hello.HelloModelView
- supportsType(Class<?>) - Method in class io.jstach.opt.spring.webflux.example.message.MessagePageRenderer
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.JStachePartial
-
Inline template.
- Template<T> - Interface in io.jstach.jstachio
-
A JStachio Template is a renderer that has template meta data.
- 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.
- templateAppender() - Method in class io.jstach.opt.spring.example.hello.HelloModelView
-
Appender.
- templateAppender() - Method in class io.jstach.opt.spring.example.message.MessagePageRenderer
-
Appender.
- templateAppender() - Method in class io.jstach.opt.spring.webflux.example.hello.HelloModelView
-
Appender.
- templateAppender() - Method in class io.jstach.opt.spring.webflux.example.message.MessagePageRenderer
-
Appender.
- TemplateConfig - Interface in io.jstach.jstachio
-
A Container for optional template collaborators for ease of wiring generated
Template
s. - templateContentType() - Method in interface io.jstach.jstachio.TemplateInfo
-
The template content type is the class annotated with
JStacheContentType
which also describes the escaper to be used. - templateContentType() - Method in class io.jstach.opt.spring.example.hello.HelloModelView
- templateContentType() - Method in class io.jstach.opt.spring.example.message.MessagePageRenderer
- templateContentType() - Method in class io.jstach.opt.spring.webflux.example.hello.HelloModelView
- templateContentType() - Method in class io.jstach.opt.spring.webflux.example.message.MessagePageRenderer
- templateEscaper() - Method in interface io.jstach.jstachio.TemplateInfo
-
The escaper to be used on the template.
- templateEscaper() - Method in class io.jstach.opt.spring.example.hello.HelloModelView
- templateEscaper() - Method in class io.jstach.opt.spring.example.message.MessagePageRenderer
- templateEscaper() - Method in class io.jstach.opt.spring.webflux.example.hello.HelloModelView
- templateEscaper() - Method in class io.jstach.opt.spring.webflux.example.message.MessagePageRenderer
- 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.
- templateFormatter() - Method in interface io.jstach.jstachio.TemplateInfo
-
The base formatter to be used on the template.
- templateFormatter() - Method in class io.jstach.opt.spring.example.hello.HelloModelView
- templateFormatter() - Method in class io.jstach.opt.spring.example.message.MessagePageRenderer
- templateFormatter() - Method in class io.jstach.opt.spring.webflux.example.hello.HelloModelView
- templateFormatter() - Method in class io.jstach.opt.spring.webflux.example.message.MessagePageRenderer
- 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.
- TemplateInfo - Interface in io.jstach.jstachio
-
Template meta data like its location, formatters, escapers and or its contents.
- TemplateInfo.TemplateSource - Enum Class in io.jstach.jstachio
-
Symbols representing where the template was retrieved from.
- templateName() - Method in interface io.jstach.jstachio.TemplateInfo
-
The logical name of the template which maybe different than
TemplateInfo.templatePath()
. - templateName() - Method in class io.jstach.opt.spring.example.hello.HelloModelView
- templateName() - Method in class io.jstach.opt.spring.example.message.MessagePageRenderer
- templateName() - Method in class io.jstach.opt.spring.webflux.example.hello.HelloModelView
- templateName() - Method in class io.jstach.opt.spring.webflux.example.message.MessagePageRenderer
- templatePath() - Method in interface io.jstach.jstachio.TemplateInfo
-
If the template is a classpath resource file this will return the location that was originally resolved via
config resolution
. - templatePath() - Method in class io.jstach.opt.spring.example.hello.HelloModelView
- templatePath() - Method in class io.jstach.opt.spring.example.message.MessagePageRenderer
- templatePath() - Method in class io.jstach.opt.spring.webflux.example.hello.HelloModelView
- templatePath() - Method in class io.jstach.opt.spring.webflux.example.message.MessagePageRenderer
- TemplateProvider - Interface in io.jstach.jstachio.spi
-
A
ServiceLoader
interface for findingTemplate
s. - Templates - Class in io.jstach.jstachio.spi
-
Locates generated templates by their model via reflection.
- templateSource() - Method in interface io.jstach.jstachio.TemplateInfo
-
Where the template contents were retrieved from.
- templateString() - Method in interface io.jstach.jstachio.TemplateInfo
-
The raw contents of the template.
- templateString() - Method in class io.jstach.opt.spring.example.hello.HelloModelView
- templateString() - Method in class io.jstach.opt.spring.example.message.MessagePageRenderer
- templateString() - Method in class io.jstach.opt.spring.webflux.example.hello.HelloModelView
- templateString() - Method in class io.jstach.opt.spring.webflux.example.message.MessagePageRenderer
- toAppendable(A) - Method in interface io.jstach.jstachio.Appender
-
Decorates an appendable with this appender such that the returned appendable will call the this appender which will then write to the inputted appendable.
- toString() - Method in record class io.jstach.opt.spring.webflux.example.hello.HelloModel
-
Returns a string representation of this record class.
- 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.JStacheType
-
This effectively means not set and to let other
JStacheConfig
determine the setting. - UNSPECIFIED - Static variable in annotation interface io.jstach.jstache.JStacheName
-
The value to mean the suffix and prefix is not set.
- use(boolean) - Method in class io.jstach.opt.jmustache.JMustacheRenderer
-
Enables JMustache
- 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.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.
- valueOf(String) - Static method in enum class io.jstach.jstachio.TemplateInfo.TemplateSource
-
Returns the enum constant of this class with the specified name.
- 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.
- values() - Static method in enum class io.jstach.jstachio.TemplateInfo.TemplateSource
-
Returns an array containing the constants of this enum class, in the order they are declared.
- ViewSetupBeanPostProcessor - Class in io.jstach.opt.spring.webflux
-
A
BeanPostProcessor
that it registers aHandlerResultHandler
that automatically applies allJStachioModelViewConfigurer
instances to views before rendering. - ViewSetupBeanPostProcessor(ApplicationContext) - Constructor for class io.jstach.opt.spring.webflux.ViewSetupBeanPostProcessor
-
Constructor for Spring to inject the application context.
- viewSetupHandlerInterceptor(ApplicationContext) - Method in class io.jstach.opt.spring.example.WebConfig
-
Configures an interceptor for before rendering logic useful for adding additional data to JStache models.
- viewSetupHandlerInterceptor(ApplicationContext) - Method in class io.jstach.opt.spring.webflux.example.WebConfig
-
Factory to create a bean post processor to register
JStachioModelViewConfigurer
s. - ViewSetupHandlerInterceptor - Class in io.jstach.opt.spring.webmvc
-
A
HandlerInterceptor
that automatically applies allJStachioModelViewConfigurer
instances to views before rendering. - ViewSetupHandlerInterceptor(ApplicationContext) - Constructor for class io.jstach.opt.spring.webmvc.ViewSetupHandlerInterceptor
-
Injected context will be searched for
JStachioModelViewConfigurer
W
- WebConfig - Class in io.jstach.opt.spring.example
-
Configures MVC using
JStachioHttpMessageConverter
to allow returning models which will be rendered using JStachio runtime. - WebConfig - Class in io.jstach.opt.spring.webflux.example
-
Configures MVC using
JStachioHttpMessageConverter
to allow returning models which will be rendered using JStachio runtime. - WebConfig(JStachio) - Constructor for class io.jstach.opt.spring.example.WebConfig
-
Configures based on the jstachio found by spring
- WebConfig(JStachio) - Constructor for class io.jstach.opt.spring.webflux.example.WebConfig
-
Configures based on the jstachio found by spring
All Classes and Interfaces|All Packages|Constant Field Values