Class ExpressionString

java.lang.Object
org.apache.commons.el.ExpressionString

public class ExpressionString extends Object

Represents an expression String consisting of a mixture of Strings and Expressions.

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

    • mElements

      Object[] mElements
  • Constructor Details

    • ExpressionString

      public ExpressionString(Object[] pElements)
      Constructor
  • Method Details

    • getElements

      public Object[] getElements()
    • setElements

      public void setElements(Object[] pElements)
    • evaluate

      public String evaluate(javax.servlet.jsp.el.VariableResolver pResolver, javax.servlet.jsp.el.FunctionMapper functions, Logger pLogger) throws javax.servlet.jsp.el.ELException
      Evaluates the expression string by evaluating each element, converting it to a String (using toString, or "" for null values) and concatenating the results into a single String.
      Throws:
      javax.servlet.jsp.el.ELException
    • getExpressionString

      public String getExpressionString()
      Returns the expression in the expression language syntax