Class TextNode

java.lang.Object
cloud.opencode.base.string.template.node.TextNode
All Implemented Interfaces:
TemplateNode

public final class TextNode extends Object implements TemplateNode
Text Node - Template node for static text content. 文本节点 - 用于静态文本内容的模板节点。

Features | 主要功能:

  • Static text output - 静态文本输出

Usage Examples | 使用示例:

TextNode node = new TextNode("Hello World");
String result = node.render(Map.of()); // "Hello World"

Security | 安全性:

  • Thread-safe: Yes (immutable) - 线程安全: 是(不可变)
Since:
JDK 25, opencode-base-string V1.0.0
Author:
Leon Soo www.LeonSoo.com
See Also: