Package org.thymeleaf.util
Class LazyProcessingCharSequence
Object
org.thymeleaf.util.AbstractLazyCharSequence
org.thymeleaf.util.LazyProcessingCharSequence
- All Implemented Interfaces:
CharSequence
,IWritableCharSequence
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.
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
Constructor Summary
ConstructorsConstructorDescriptionLazyProcessingCharSequence
(ITemplateContext context, TemplateModel templateModel) -
Method Summary
Methods inherited from class org.thymeleaf.util.AbstractLazyCharSequence
charAt, equals, hashCode, length, subSequence, toString, write
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.CharSequence
chars, codePoints
-
Constructor Details
-
LazyProcessingCharSequence
-
-
Method Details
-
resolveText
- Specified by:
resolveText
in classAbstractLazyCharSequence
-
writeUnresolved
- Specified by:
writeUnresolved
in classAbstractLazyCharSequence
- Throws:
IOException
-