public class ExpressionUtil
extends java.lang.Object
Contains some static utilities to facilitate common forms of expression evaluation.
Constructor and Description |
---|
ExpressionUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
evalNotNull(java.lang.String tagName,
java.lang.String attributeName,
java.lang.String expression,
java.lang.Class expectedType,
Tag tag,
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 java.lang.Object evalNotNull(java.lang.String tagName, java.lang.String attributeName, java.lang.String expression, java.lang.Class expectedType, Tag tag, PageContext pageContext) throws JspException
JspException