public final class LazyProcessingCharSequence extends AbstractLazyCharSequence
Character sequence that performs a lazy evaluation of a TemplateModel by the template engine.
It is used sometimes internally by the engine in order to avoid the creation of extra String objects in some scenarios (e.g. inliners).
This is mostly an internal class, and its use is not recommended from user's code.
This class is not thread-safe.
| Constructor and Description |
|---|
LazyProcessingCharSequence(ITemplateContext context,
TemplateModel templateModel) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
resolveText() |
protected void |
writeUnresolved(Writer writer) |
charAt, equals, hashCode, length, subSequence, toString, writechars, codePointspublic LazyProcessingCharSequence(ITemplateContext context, TemplateModel templateModel)
protected String resolveText()
resolveText in class AbstractLazyCharSequenceprotected void writeUnresolved(Writer writer) throws IOException
writeUnresolved in class AbstractLazyCharSequenceIOExceptionCopyright © 2017 The THYMELEAF team. All rights reserved.