@ConsumerType public interface RuntimeExtension
RuntimeExtension
represents a HTL runtime construct that provides some processing capabilities for the various
data-sly-*
block elements.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FORMAT
The name of the runtime function that will process string
formatting.
|
static java.lang.String |
I18N
The name of the runtime function that will process
i18n.
|
static java.lang.String |
INCLUDE
The name of the runtime function that will perform
script execution delegation.
|
static java.lang.String |
JOIN
The name of the runtime function that will process
join operations on arrays.
|
static java.lang.String |
NAME
For OSGi environments this is the name of the service registration property indicating the
RuntimeExtension name. |
static java.lang.String |
RESOURCE
The name of the runtime function that will perform
resource inclusion in the rendering process.
|
static java.lang.String |
URI_MANIPULATION
The name of the runtime function that will provide
URI manipulation support.
|
static java.lang.String |
USE
The name of the runtime function that will provide
the support for loading Use-API objects.
|
static java.lang.String |
XSS
The name of the runtime function that will provide
XSS escaping and filtering support.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
call(RenderContext renderContext,
java.lang.Object... arguments)
Call the
RuntimeExtension |
static final java.lang.String FORMAT
The name of the runtime 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.
static final java.lang.String I18N
The name of the runtime 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.
static final java.lang.String JOIN
The name of the runtime 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.
static final java.lang.String URI_MANIPULATION
The name of the runtime 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.
static final java.lang.String XSS
The name of the runtime function that will provide XSS escaping and filtering 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#121-display-context.
static final java.lang.String INCLUDE
The name of the runtime 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.
static final java.lang.String RESOURCE
The name of the runtime 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.
static final java.lang.String USE
The name of the runtime 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.
static final java.lang.String NAME
RuntimeExtension
name.java.lang.Object call(RenderContext renderContext, java.lang.Object... arguments)
RuntimeExtension
renderContext
- the runtime contextarguments
- the call argumentsCopyright © 2010 - 2020 Adobe. All Rights Reserved