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,
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 Object evalNotNull(String tagName, String attributeName, String expression, Class expectedType, Tag tag, PageContext pageContext) throws JspException
JspException
Copyright © 2018 JBoss by Red Hat. All rights reserved.