org.apache.commons.el
Class NamedValue

java.lang.Object
  |
  +--org.apache.commons.el.Expression
        |
        +--org.apache.commons.el.NamedValue

public class NamedValue
extends Expression

Represents a name that can be used as the first element of a value.

Version:
$Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: luehe $
Author:
Nathan Abramson - Art Technology Group
, Shawn Bayern

Field Summary
(package private)  java.lang.String mName
           
 
Constructor Summary
NamedValue(java.lang.String pName)
          Constructor
 
Method Summary
 java.lang.Object evaluate(javax.servlet.jsp.el.VariableResolver pResolver, javax.servlet.jsp.el.FunctionMapper functions, Logger pLogger)
          Evaluates by looking up the name in the VariableResolver
 java.lang.String getExpressionString()
          Returns the expression in the expression language syntax
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mName

java.lang.String mName
Constructor Detail

NamedValue

public NamedValue(java.lang.String pName)
Constructor

Method Detail

getName

public java.lang.String getName()

getExpressionString

public java.lang.String getExpressionString()
Returns the expression in the expression language syntax

Specified by:
getExpressionString in class Expression

evaluate

public java.lang.Object evaluate(javax.servlet.jsp.el.VariableResolver pResolver,
                                 javax.servlet.jsp.el.FunctionMapper functions,
                                 Logger pLogger)
                          throws javax.servlet.jsp.el.ELException
Evaluates by looking up the name in the VariableResolver

Specified by:
evaluate in class Expression
javax.servlet.jsp.el.ELException


Copyright (c) 2001-2002 - Apache Software Foundation