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,
javax.servlet.jsp.tagext.Tag tag,
javax.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, javax.servlet.jsp.tagext.Tag tag, javax.servlet.jsp.PageContext pageContext) throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.