com.cc.framework.ui
Class ELSupport.BeanVariableResolver
java.lang.Object
org.apache.commons.el.VariableResolverImpl
com.cc.framework.ui.ELSupport.BeanVariableResolver
- All Implemented Interfaces:
- javax.servlet.jsp.el.VariableResolver
- Enclosing class:
- ELSupport
- protected static class ELSupport.BeanVariableResolver
- extends org.apache.commons.el.VariableResolverImpl
Variable Resolver
Field Summary |
private java.lang.Object |
bean
The Bean |
private java.lang.String |
beanName
The identifier for the bean
(null defaults to "bean") |
Fields inherited from class org.apache.commons.el.VariableResolverImpl |
|
Method Summary |
java.lang.Object |
resolveVariable(java.lang.String name)
Resolves the specified variable within the given context.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bean
private java.lang.Object bean
- The Bean
beanName
private java.lang.String beanName
- The identifier for the bean
(
null
defaults to "bean")
ELSupport.BeanVariableResolver
public ELSupport.BeanVariableResolver(javax.servlet.jsp.PageContext ctx,
java.lang.Object bean,
java.lang.String beanName)
- Constructor
- Parameters:
ctx
- JSP Page Contextbean
- The BeanbeanName
- The identifier under which the bean
is made visible (default is "bean")
resolveVariable
public java.lang.Object resolveVariable(java.lang.String name)
throws javax.servlet.jsp.el.ELException
- Resolves the specified variable within the given context.
Returns null if the variable is not found.
- Parameters:
name
- The variable Name
- Returns:
- the value
- Throws:
javax.servlet.jsp.el.ELException
- is thrown when the variable
can not be resolved
Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.