com.cc.framework.ui
Class ELSupport.BeanVariableResolver

java.lang.Object
  extended byorg.apache.commons.el.VariableResolverImpl
      extended bycom.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
 
Constructor Summary
ELSupport.BeanVariableResolver(javax.servlet.jsp.PageContext ctx, java.lang.Object bean, java.lang.String beanName)
          Constructor
 
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
 

Field Detail

bean

private java.lang.Object bean
The Bean


beanName

private java.lang.String beanName
The identifier for the bean (null defaults to "bean")

Constructor Detail

ELSupport.BeanVariableResolver

public ELSupport.BeanVariableResolver(javax.servlet.jsp.PageContext ctx,
                                      java.lang.Object bean,
                                      java.lang.String beanName)
Constructor

Parameters:
ctx - JSP Page Context
bean - The Bean
beanName - The identifier under which the bean is made visible (default is "bean")
Method Detail

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.