Interface RenderContext
- All Known Implementing Classes:
RenderContextImpl
@ProviderType
public interface RenderContext
The
RenderContext defines the context for executing HTL scripts.-
Method Summary
Modifier and TypeMethodDescriptionCall one of the registeredRuntimeExtensions.Returns the map of script bindings available to HTL scripts.Provides theRuntimeObjectModelthat will be used for resolving objects' properties or type conversion / coercion.
-
Method Details
-
getObjectModel
RuntimeObjectModel getObjectModel()Provides theRuntimeObjectModelthat will be used for resolving objects' properties or type conversion / coercion.- Returns:
- the RuntimeObjectModel
-
getBindings
Bindings getBindings()Returns the map of script bindings available to HTL scripts.- Returns:
- the global bindings for a script
-
call
Call one of the registeredRuntimeExtensions.- Parameters:
functionName- the name under which the extension is registeredarguments- the extension's arguments- Returns:
- the
RuntimeExtension's result
-