下面列出了怎么用javax.servlet.jsp.el.ExpressionEvaluator的API类实例代码及写法,或者点击链接到github查看源代码。
@Override
@Deprecated
public ExpressionEvaluator getExpressionEvaluator() {
return invokingJspCtxt.getExpressionEvaluator();
}
@Override
@Deprecated
public ExpressionEvaluator getExpressionEvaluator() {
return invokingJspCtxt.getExpressionEvaluator();
}
/**
* Provides programmatic access to the ExpressionEvaluator. The JSP
* Container must return a valid instance of an ExpressionEvaluator that can
* parse EL expressions.
*/
@Override
@Deprecated
public ExpressionEvaluator getExpressionEvaluator() {
return new ExpressionEvaluatorImpl(this.applicationContext.getExpressionFactory());
}
@Override
@Deprecated
public ExpressionEvaluator getExpressionEvaluator() {
return invokingJspCtxt.getExpressionEvaluator();
}
/**
* Provides programmatic access to the ExpressionEvaluator. The JSP
* Container must return a valid instance of an ExpressionEvaluator that can
* parse EL expressions.
*/
@Override
@Deprecated
public ExpressionEvaluator getExpressionEvaluator() {
return new ExpressionEvaluatorImpl(this.applicationContext.getExpressionFactory());
}
public ExpressionEvaluator getExpressionEvaluator() {
return invokingJspCtxt.getExpressionEvaluator();
}
@Override
public ExpressionEvaluator getExpressionEvaluator() {
throw new UnsupportedOperationException();
}
@Override
public ExpressionEvaluator getExpressionEvaluator() {
// TODO Auto-generated method stub
return null;
}
@Override
public ExpressionEvaluator getExpressionEvaluator() {
return null;
}
@Override
public ExpressionEvaluator getExpressionEvaluator()
{
throw new UnsupportedOperationException();
}
/**
* Provides programmatic access to the ExpressionEvaluator.
* The JSP Container must return a valid instance of an
* ExpressionEvaluator that can parse EL expressions.
*
* @deprecated As of JSP 2.1, replaced by
* {@link JspApplicationContext#getExpressionFactory}
* @return A valid instance of an ExpressionEvaluator.
* @since JSP 2.0
*/
public abstract ExpressionEvaluator getExpressionEvaluator();
/**
* Provides programmatic access to the ExpressionEvaluator.
* The JSP Container must return a valid instance of an
* ExpressionEvaluator that can parse EL expressions.
*/
public ExpressionEvaluator getExpressionEvaluator() {
return new ExpressionEvaluatorImpl(this);
}