org.apache.commons.el

Class 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 $
Authors:
Nathan Abramson - Art Technology Group
Shawn Bayern

Field Summary

(package private) String
mName

Constructor Summary

NamedValue(String pName)
Constructor

Method Summary

Object
evaluate(VariableResolver pResolver, FunctionMapper functions, Logger pLogger)
Evaluates by looking up the name in the VariableResolver
String
getExpressionString()
Returns the expression in the expression language syntax
String
getName()

Methods inherited from class org.apache.commons.el.Expression

evaluate, getExpressionString

Field Details

mName

(package private)  String mName

Constructor Details

NamedValue

public NamedValue(String pName)
Constructor

Method Details

evaluate

public Object evaluate(VariableResolver pResolver,
                       FunctionMapper functions,
                       Logger pLogger)
            throws ELException
Evaluates by looking up the name in the VariableResolver
Overrides:
evaluate in interface Expression

getExpressionString

public String getExpressionString()
Returns the expression in the expression language syntax
Overrides:
getExpressionString in interface Expression

getName

public String getName()

Copyright (c) 2001-2002 - Apache Software Foundation