public final class RuntimeFunction extends 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 String |
FORMAT
The name of the
RuntimeCall function that will process string
formatting. |
static String |
I18N
The name of the
RuntimeCall function that will process
i18n. |
static String |
INCLUDE
The name of the
RuntimeCall function that will perform
script execution delegation. |
static String |
JOIN
The name of the
RuntimeCall function that will process
join operations on arrays. |
static String |
RESOURCE
The name of the
RuntimeCall function that will perform
resource inclusion in the rendering process. |
static String |
URI_MANIPULATION
The name of the
RuntimeCall function that will provide
URI manipulation support. |
static String |
USE
The name of the
RuntimeCall function that will provide
the support for loading Use-API objects. |
static String |
XSS
The name of the
RuntimeCall function that will provide
XSS escaping and filtering support. |
Constructor and Description |
---|
RuntimeFunction() |
public static final 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 String I18N
The name of the RuntimeCall
function that will process
i18n. The function will receive the following parameters:
ResourceBundle.getBundle(String, Locale)
For more details check https://github.com/Adobe-Marketing-Cloud/htl-spec/blob/1.2/SPECIFICATION.md#123-i18n.
public static final 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 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 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 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 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 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 © 2017 The Apache Software Foundation. All rights reserved.