public static class Handlebars.Utils
extends java.lang.Object
escapeExpression(CharSequence)
and
isEmpty(Object)
.Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.CharSequence |
escapeExpression(java.lang.CharSequence input)
Escapes the characters in a
String using HTML entities. |
static boolean |
isEmpty(java.lang.Object value)
Evaluate the given object and return true is the object is considered
empty.
|
public static boolean isEmpty(java.lang.Object value)
value
- The object value.public static java.lang.CharSequence escapeExpression(java.lang.CharSequence input)
Escapes the characters in a String
using HTML entities.
For example:
"bread" & "butter"
"bread" & "butter"
input
- the String
to escape, may be null.Copyright © 2010 - 2020 Adobe. All Rights Reserved