FileDocCategorySizeDatePackage
NamedValue.javaAPI DocGlassfish v2 API3545Sat May 05 19:17:28 BST 2007org.apache.taglibs.standard.lang.jstl

NamedValue

public class NamedValue extends Expression

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

author
Nathan Abramson - Art Technology Group
author
Shawn Bayern
version
$Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: tcfujii $

Fields Summary
String
mName
Constructors Summary
public NamedValue(String pName)
Constructor

    mName = pName;
  
Methods Summary
public java.lang.Objectevaluate(java.lang.Object pContext, VariableResolver pResolver, java.util.Map functions, java.lang.String defaultPrefix, Logger pLogger)
Evaluates by looking up the name in the VariableResolver

    if (pResolver == null) {
      return null;
    }
    else {
      return pResolver.resolveVariable (mName, pContext);
    }
  
public java.lang.StringgetExpressionString()
Returns the expression in the expression language syntax

    return StringLiteral.toIdentifierToken (mName);
  
public java.lang.StringgetName()

 return mName;