Marker interface for components capable of rendering content in response to HTTP requests.
This interface serves as the root of the view rendering hierarchy in the Jetleaf web framework. It identifies components that can generate dynamic content (typically HTML) based on request context and application data.
Implementation Hierarchy
Renderable (interface)
├── RenderableView (abstract) - For direct string-based rendering
└── RenderableWebView (abstract) - For template-based rendering with models
Framework Integration
Components implementing this interface are typically:
- Annotated with
@WebViewfor URL mapping - Discovered by controller scanners during application startup
- Invoked by the framework's request handling system
- Integrated with the template engine and view resolution infrastructure
Usage Context
Renderable components are used when you need to:
- Generate dynamic HTML content server-side
- Create web pages with data from multiple sources
- Build complex views with template inheritance
- Implement server-side rendering for web applications
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- METHOD_NAME → const String
- The method name of all renderable classes