public boolean isEventNameLiteralText() { return eventName.isLiteralText(); }
public boolean isEventNameLiteralText() { return eventName.isLiteralText(); }
/** * Checks whether a {@link String} seams to be a composite expression or not. In contrast to an eval expression * is the composite expression also allowed to consist of a combination of literal and eval expressions, e.g., * "Welcome ${customer.name} to our site". * * Note: If you just want to allow eval expression, then the expression must always start with "#{" or "${". * Use {@link #isExpression(String)} to conduct these kind of checks. * */ public static boolean isCompositeExpression(String text, ExpressionManager expressionManager) { return !expressionManager.createExpression(text).isLiteralText(); }
/** * Checks whether a {@link String} seams to be a composite expression or not. In contrast to an eval expression * is the composite expression also allowed to consist of a combination of literal and eval expressions, e.g., * "Welcome ${customer.name} to our site". * * Note: If you just want to allow eval expression, then the expression must always start with "#{" or "${". * Use {@link #isExpression(String)} to conduct these kind of checks. * */ public static boolean isCompositeExpression(String text, ExpressionManager expressionManager) { return !expressionManager.createExpression(text).isLiteralText(); }
public boolean isEventNameLiteralText() { return eventName.isLiteralText(); }
/** * Checks whether a {@link String} seams to be a composite expression or not. In contrast to an eval expression * is the composite expression also allowed to consist of a combination of literal and eval expressions, e.g., * "Welcome ${customer.name} to our site". * * Note: If you just want to allow eval expression, then the expression must always start with "#{" or "${". * Use {@link #isExpression(String)} to conduct these kind of checks. * */ public static boolean isCompositeExpression(String text, ExpressionManager expressionManager) { return !expressionManager.createExpression(text).isLiteralText(); }