public class ExpressionUtil extends Object
Contains some static utilities to facilitate common forms of expression evaluation.
Constructor and Description |
---|
ExpressionUtil() |
Modifier and Type | Method and Description |
---|---|
static Object |
evalNotNull(String tagName,
String attributeName,
String expression,
Class expectedType,
jakarta.servlet.jsp.tagext.Tag tag,
jakarta.servlet.jsp.PageContext pageContext)
Evaluates an expression if present, but does not allow the expression
to evaluate to 'null', throwing a NullAttributeException if it
does.
|
public static Object evalNotNull(String tagName, String attributeName, String expression, Class expectedType, jakarta.servlet.jsp.tagext.Tag tag, jakarta.servlet.jsp.PageContext pageContext) throws jakarta.servlet.jsp.JspException
jakarta.servlet.jsp.JspException
Copyright © 2019,2020 Eclipse Foundation. All rights reserved.