net.sf.navigator.taglib.el
Class ExpressionEvaluator
java.lang.Object
net.sf.navigator.taglib.el.ExpressionEvaluator
public class ExpressionEvaluator
- extends Object
Utility class to help with the evaluation of JSTL Expression Language. It
mainly encapsulates the calls to ExpressionEvaluationManager to ease the
use of this class.
|
Constructor Summary |
ExpressionEvaluator(javax.servlet.jsp.tagext.Tag tag,
javax.servlet.jsp.PageContext context)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpressionEvaluator
public ExpressionEvaluator(javax.servlet.jsp.tagext.Tag tag,
javax.servlet.jsp.PageContext context)
eval
public Object eval(String attrName,
String attrValue,
Class returnClass)
throws javax.servlet.jsp.JspException
- Evaluate expression in attrValue.
- Returns:
- evaluate expression of attrValue, null if attrValue is null.
- Throws:
javax.servlet.jsp.JspException
evalString
public String evalString(String attrName,
String attrValue)
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
evalBoolean
public boolean evalBoolean(String attrName,
String attrValue)
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
evalLong
public long evalLong(String attrName,
String attrValue)
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
evalInt
public int evalInt(String attrName,
String attrValue)
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
Copyright © 2003-2007 SourceForge. All Rights Reserved.