public class Helpers extends Object
| Modifier and Type | Method and Description |
|---|---|
static Integer |
initIntHashEntry(Options options,
String key) |
static Integer |
initIntHashEntry(Options options,
String key,
Integer defaultValue) |
static boolean |
isSection(Options options) |
static boolean |
isUnescapeVariable(Options options) |
static boolean |
isValuePlaceholder(Object value) |
static boolean |
isVariable(Options options) |
public static boolean isSection(Options options)
options - true if the underlying tag represents a section,
false otherwisepublic static boolean isVariable(Options options)
options - true if the underlying tag represents a variable,
false otherwisepublic static boolean isUnescapeVariable(Options options)
options - true if the underlying tag represents a variable
which shouldn't be escaped, false otherwisepublic static Integer initIntHashEntry(Options options, String key)
options - key - Integer value for the given key or null if not
specifiedpublic static Integer initIntHashEntry(Options options, String key, Integer defaultValue)
options - key - defaultValue - Integer value for the given key or default value if not
specifiedpublic static boolean isValuePlaceholder(Object value)
value - true if the given value represents a HelperDefinition.ValuePlaceholder, false otherwiseCopyright © 2017. All rights reserved.