| Modifier and Type | Field and Description |
|---|---|
static Helper<Object> |
INSTANCE
A singleton instance of this helper.
|
static String |
NAME
The helper's name.
|
| Constructor and Description |
|---|
IfHelper() |
| Modifier and Type | Method and Description |
|---|---|
Object |
apply(Object context,
Options options)
Apply the helper to the context.
|
public static final String NAME
public Object apply(Object context, Options options) throws IOException
Helperapply in interface Helper<Object>context - The context object.options - The options object.IOException - If a template cannot be loaded.Copyright © 2022. All rights reserved.