Class IncludeNode

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

public final class IncludeNode extends Object implements TemplateNode
Include Node - Template node for including other templates. 包含节点 - 用于包含其他模板的模板节点。

Features | 主要功能:

  • Template inclusion by name - 按名称包含模板

Usage Examples | 使用示例:

IncludeNode node = new IncludeNode("header");
String result = node.render(context);

Security | 安全性:

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