Class ComplexValue


  • public class ComplexValue
    extends Expression

    Represents a dynamic value, which consists of a prefix and an optional set of ValueSuffix elements. A prefix is something like an identifier, and a suffix is something like a "property of" or "indexed element of" operator.

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

      Fields 
      Modifier and Type Field Description
      (package private) Expression mPrefix  
      (package private) java.util.List mSuffixes  
    • Constructor Summary

      Constructors 
      Constructor Description
      ComplexValue​(Expression pPrefix, java.util.List pSuffixes)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object evaluate​(javax.servlet.jsp.el.VariableResolver pResolver, javax.servlet.jsp.el.FunctionMapper functions, Logger pLogger)
      Evaluates by evaluating the prefix, then applying the suffixes
      java.lang.String getExpressionString()
      Returns the expression in the expression language syntax
      Expression getPrefix()  
      java.util.List getSuffixes()  
      void setPrefix​(Expression pPrefix)  
      void setSuffixes​(java.util.List pSuffixes)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • mSuffixes

        java.util.List mSuffixes
    • Constructor Detail

      • ComplexValue

        public ComplexValue​(Expression pPrefix,
                            java.util.List pSuffixes)
        Constructor
    • Method Detail

      • setPrefix

        public void setPrefix​(Expression pPrefix)
      • getSuffixes

        public java.util.List getSuffixes()
      • setSuffixes

        public void setSuffixes​(java.util.List pSuffixes)
      • 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 evaluating the prefix, then applying the suffixes
        Specified by:
        evaluate in class Expression
        Throws:
        javax.servlet.jsp.el.ELException