Interface RenderContext
-
@ProviderType public interface RenderContext
TheRenderContext
defines the context for executing HTL scripts.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
call(java.lang.String functionName, java.lang.Object... arguments)
Call one of the registeredRuntimeExtension
s.javax.script.Bindings
getBindings()
Returns the map of script bindings available to HTL scripts.RuntimeObjectModel
getObjectModel()
Provides theRuntimeObjectModel
that will be used for resolving objects' properties or type conversion / coercion.
-
-
-
Method Detail
-
getObjectModel
RuntimeObjectModel getObjectModel()
Provides theRuntimeObjectModel
that will be used for resolving objects' properties or type conversion / coercion.- Returns:
- the RuntimeObjectModel
-
getBindings
javax.script.Bindings getBindings()
Returns the map of script bindings available to HTL scripts.- Returns:
- the global bindings for a script
-
call
java.lang.Object call(java.lang.String functionName, java.lang.Object... arguments)
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
-
-