RuntimeCall
starting with version 1.2.0 of the org.apache.sling.scripting.sightly.compiler.expression.nodes
API.@Deprecated
public final class RuntimeFunction
extends java.lang.Object
This class documents what runtime functions (abstracted by
RuntimeCall
expression nodes) will need to be available in a
HTL runtime.
A HTL runtime can only be defined through a BackendCompiler
that can transpile RuntimeCall
s to specific runtime function
implementations.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FORMAT
Deprecated.
The name of the
RuntimeCall function that will process string
formatting. |
static java.lang.String |
I18N
Deprecated.
The name of the
RuntimeCall function that will process
i18n. |
static java.lang.String |
INCLUDE
Deprecated.
The name of the
RuntimeCall function that will perform
script execution delegation. |
static java.lang.String |
JOIN
Deprecated.
The name of the
RuntimeCall function that will process
join operations on arrays. |
static java.lang.String |
RESOURCE
Deprecated.
The name of the
RuntimeCall function that will perform
resource inclusion in the rendering process. |
static java.lang.String |
URI_MANIPULATION
Deprecated.
The name of the
RuntimeCall function that will provide
URI manipulation support. |
static java.lang.String |
USE
Deprecated.
The name of the
RuntimeCall function that will provide
the support for loading Use-API objects. |
static java.lang.String |
XSS
Deprecated.
The name of the
RuntimeCall function that will provide
XSS escaping and filtering support. |
Constructor and Description |
---|
RuntimeFunction()
Deprecated.
|
public static final java.lang.String FORMAT
The name of the RuntimeCall
function that will process string
formatting. The function will receive the following parameters:
For more details check https://github.com/Adobe-Marketing-Cloud/htl-spec/blob/1.2/SPECIFICATION.md#122-format.
public static final java.lang.String I18N
The name of the RuntimeCall
function that will process
i18n. The function will receive the following parameters:
ResourceBundle.getBundle(String, java.util.Locale)
For more details check https://github.com/Adobe-Marketing-Cloud/htl-spec/blob/1.2/SPECIFICATION.md#123-i18n.
public static final java.lang.String JOIN
The name of the RuntimeCall
function that will process
join operations on arrays. The function will receive the following parameters:
For more details check https://github.com/Adobe-Marketing-Cloud/htl-spec/blob/1.2/SPECIFICATION.md#124-array-join.
public static final java.lang.String URI_MANIPULATION
The name of the RuntimeCall
function that will provide
URI manipulation support. The function will receive the following parameters:
For more details check https://github.com/Adobe-Marketing-Cloud/htl-spec/blob/1.2/SPECIFICATION.md#125-uri-manipulation.
public static final java.lang.String XSS
The name of the RuntimeCall
function that will provide
XSS escaping and filtering support. The function will receive the following parameters:
MarkupContext
For more details check https://github.com/Adobe-Marketing-Cloud/htl-spec/blob/1.2/SPECIFICATION.md#121-display-context.
public static final java.lang.String INCLUDE
The name of the RuntimeCall
function that will perform
script execution delegation. The function will receive the following parameters:
For more details about the supported options check https://github.com/Adobe-Marketing-Cloud/htl-spec/blob/1.2/SPECIFICATION.md#228-include.
public static final java.lang.String RESOURCE
The name of the RuntimeCall
function that will perform
resource inclusion in the rendering process. The function will receive the following parameters:
For more details about the supported options check https://github.com/Adobe-Marketing-Cloud/htl-spec/blob/1.2/SPECIFICATION.md#229-resource.
public static final java.lang.String USE
The name of the RuntimeCall
function that will provide
the support for loading Use-API objects. The function will receive the following parameters:
For more details check https://github.com/Adobe-Marketing-Cloud/htl-spec/blob/1.2/SPECIFICATION.md#221-use.
Copyright © 2010 - 2020 Adobe. All Rights Reserved