Uses of Interface
io.jstach.jstachio.Output
Packages that use Output
Package
Description
JStachio Core Runtime API.
JStachio extended Mustache context support for context stack as well as Map and JSON
tree like models.
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.
-
Uses of Output in io.jstach.jstachio
Subinterfaces of Output in io.jstach.jstachioModifier and TypeInterfaceDescriptionstatic interfaceOutput.CloseableEncodedOutput<E extends Exception>An encoded output that can be closed.static interfaceOutput.EncodedOutput<E extends Exception>A specialized Output designed for pre-encoded templates that have already encoded byte arrays to be used directly.Classes in io.jstach.jstachio that implement OutputMethods in io.jstach.jstachio with type parameters of type OutputModifier and TypeMethodDescriptionAppender.append(A a, boolean b) Appends a boolean to the output.Appender.append(A a, char c) Appends a character to the output.Appender.append(A a, double d) Appends a double to the output.Appender.append(A a, int i) Appends an int to the output.Appender.append(A a, long l) Appends a long to the output.Appender.append(A a, short s) Appends a short to the output.Appender.append(A a, CharSequence s) Analogous toAppendable.append(CharSequence).Appender.append(A a, CharSequence csq, int start, int end) Analogous toAppendable.append(CharSequence, int, int).Escaper.append(A a, boolean b) Escapes the character if it needs escaping.Escaper.append(A a, char c) Escapes the character if it needs escaping.Escaper.append(A a, double d) Escapes the character if it needs escaping.Escaper.append(A a, int i) Escapes the character if it needs escaping.Escaper.append(A a, long l) Escapes the character if it needs escaping.Escaper.append(A a, short s) Escapes the character if it needs escaping.Escaper.append(A a, CharSequence s) Escapes the characters if it needs it.Escaper.append(A a, CharSequence csq, int start, int end) Escapes the characters if it needs it.Renders the passed in model.Renders the passed in model to an appendable like output.TemplateModel.execute(A output) Renders the passed in model directly to an appendable like output.Formats the object and then sends the results to the downstream appender.Formats the object and then sends the results to the downstream appender.Formats the object and then sends the results to the downstream appender.Formats the object and then sends the results to the downstream appender.Formats the object and then sends the results to the downstream appender.Formats the object and then sends the results to the downstream appender.Formatter.format(Appender downstream, A a, String path, @Nullable Formatter.Formattable f) Formats the formattable object and then sends the results to the downstream appender.Formats the object and then sends the results to the downstream appender.Formats the object and then sends the results to the downstream appender.Called by the formatter to format.Methods in io.jstach.jstachio that return OutputModifier and TypeMethodDescriptionstatic Output<IOException>Output.of(Appendable a) Adapts anAppendableas anOutput. -
Uses of Output in io.jstach.jstachio.context
Methods in io.jstach.jstachio.context with type parameters of type OutputModifier and TypeMethodDescriptionContextJStachio.execute(Object model, ContextNode context, A appendable) Renders the passed in model with a context.ContextTemplate.execute(T model, ContextNode context, A appendable) Renders the passed in model to an appendable like output. -
Uses of Output in io.jstach.jstachio.formatters
Methods in io.jstach.jstachio.formatters with type parameters of type OutputModifier and TypeMethodDescriptionFormats the object and then sends the results to the downstream appender.Formats the object and then sends the results to the downstream appender.Formats the object and then sends the results to the downstream appender.Formats the object and then sends the results to the downstream appender. -
Uses of Output in io.jstach.jstachio.output
Subinterfaces of Output in io.jstach.jstachio.outputModifier and TypeInterfaceDescriptioninterfaceAn encoded output that will store the output in its preferred memory structure and can then be copied to anOutputStreamor read from aReadableByteChannel.interfaceAn encoded output optimized for producing a singleByteBuffer.interfaceMaintains the encoded output in an iterable of chunks of typeTthat is optimized forBufferedEncodedOutput.asReadableByteChannel().interfaceLimitEncodedOutput<T,E extends Exception> This output will limit buffering by byte count and then fallback to pushing to the downstream output type ofTonce limit is exceeded.Classes in io.jstach.jstachio.output that implement OutputModifier and TypeClassDescriptionclassA 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.classForwardingEncodedOutput<E extends Exception>An encoded output that forwards all calls to a delegate.classForwardingOutput<E extends Exception>An encoded output that forwards all calls to a delegate.classThresholdEncodedOutput<T,E extends Exception> This abstract output will limit buffering by byte count and then fallback to pushing to the downstream output type ofTonce limit is exceeded.static classAn OutputStream backed buffer limited encoded output.Methods in io.jstach.jstachio.output that return Output -
Uses of Output in io.jstach.jstachio.spi
Methods in io.jstach.jstachio.spi with type parameters of type OutputModifier and TypeMethodDescriptionAbstractJStachio.execute(Object model, ContextNode context, A appendable) Methods in io.jstach.jstachio.spi with parameters of type Output