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 registeredRuntimeExtension
s.Returns the map of script bindings available to HTL scripts.Provides theRuntimeObjectModel
that will be used for resolving objects' properties or type conversion / coercion.
-
Method Details
-
getObjectModel
RuntimeObjectModel getObjectModel()Provides theRuntimeObjectModel
that 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 registeredRuntimeExtension
s.- Parameters:
functionName
- the name under which the extension is registeredarguments
- the extension's arguments- Returns:
- the
RuntimeExtension
's result
-