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: kchung $
    Author:
    Nathan Abramson - Art Technology Group, Shawn Bayern
    • Constructor Summary

      Constructors 
      Constructor Description
      NamedValue​(java.lang.String pName)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object evaluate​(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
      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
    • 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​(java.lang.Object pContext,
                                         VariableResolver pResolver,
                                         java.util.Map functions,
                                         java.lang.String defaultPrefix,
                                         Logger pLogger)
                                  throws ELException
        Evaluates by looking up the name in the VariableResolver
        Specified by:
        evaluate in class Expression
        Throws:
        ELException