Class Slot<T>
java.lang.Object
io.mindspice.simplypages.core.Slot<T>
- Type Parameters:
T- slot value type
- All Implemented Interfaces:
Component
Component placeholder that renders the value for a
SlotKey from a RenderContext.
Rendering contract:
- missing value: renders empty string
- value is Component: delegates to that component's render path
- all other values: HTML-escapes toString()
- compiled entries are trusted HTML; explicit live values may be cached by context policy
- applies equally for direct component rendering and Template rendering
Mutability/thread-safety: immutable after construction and thread-safe.