All Classes and Interfaces
Class
Description
An abstract jstachio that just needs a
JStachioExtensions container.A singleton like decorator for appendables that has additional methods for dealing with
native types used to output variables that have been formatted.
An encoded output that will store the output in its preferred memory structure and can
then be copied to an
OutputStream or read from a ReadableByteChannel.A custom OutputStream that is designed for generating bytes from pre-encoded output as
well as reused carefully either by threadlocals or some other pooling
mechanism.
An encoded output optimized for producing a single
ByteBuffer.Maintains the encoded output in an iterable of chunks of type
T that is
optimized for BufferedEncodedOutput.asReadableByteChannel().A special JStachio that can render models with a loose typed context object bound to
"@context".
This interface serves three 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.A marker interface to signify something is context aware.
A context aware template.
Default formatters.
An Escaper is an
Appender used to escape content such as HTML.Formats and then sends the results to the downstream appender.
Implement to allow formatting of custom objects you want to output.
An encoded output that forwards all calls to a delegate.
An encoded output that forwards all calls to a delegate.
Provides a mustache spec based HTML escaper which is the default in normal mustache.
Render models by using reflection or static catalog to lookup generated templates as
well as apply filtering and fallback mechanisms.
Runtime Config Service.
An SPI extension point via the
ServiceLoader or other mechanisms like DI.An extension that is a factory that provides other extensions.
A container that will hold all resolved
JStachioExtensions and consolidate them
to a single instances of various services.A marker interface used for JStachio implementations that provide access to
extensions.
Creates JStachios mainly with the
ServiceLoader or a JStachioFactory.Builder.Builder for creating a custom JStachio.
Advises, intercepts or filters a template before being rendered.
A fully composed chain that renders a model by applying filtering.
Finds templates based on the model type (class).
An easier to implement template finder based on a sequence of templates.
This output will limit buffering by byte count and then fallback
to pushing to the downstream output type of
T once limit is exceeded.Extend this class to make
JStache model act like JSON object or a
java.util.Map.A low level abstraction and implementation detail analogous to
Appendable and
DataOutput.An encoded output that can be closed.
A specialized Output designed for pre-encoded templates that have already encoded
byte arrays to be used directly.
String Builder based output.
An OutputStream like callback.
Creates output like objects with a buffer size.
Provides NOOP escaper for working with plain text.
Renders models of type
T by writing to an Appendable.Formatter that follows the spec rules that if a variable is
null it will
be an empty string (ie NOOP).A JStachio Template is a renderer that has template meta data.
EXPERIMENTAL support of pre-encoded templates that have the static
parts of the template already encoded into bytes.
A Container for optional template collaborators for ease of wiring generated
Templates.Template meta data like its location, formatters, escapers and or its contents.
Symbols representing where the template was retrieved from.
A template and model combined with convenience methods.
A
ServiceLoader interface for finding Templates.Generated template providers implement this interface to support easier
ServiceLoader registration for modular libraries/applications.
Locates generated templates by their model via reflection.
Resolved
JStachePath config by replacing JStachePath.UNSPECIFIED
with default values.Strategy to load templates dynamically.
This abstract output will limit buffering by byte count and then
fallback to pushing to the downstream output type of
T once limit is
exceeded.An OutputStream backed buffer limited encoded output.