Class Literal

java.lang.Object
org.apache.commons.el.Expression
org.apache.commons.el.Literal
Direct Known Subclasses:
BooleanLiteral, FloatingPointLiteral, IntegerLiteral, NullLiteral, StringLiteral

public abstract class Literal extends Expression

An expression representing a literal value

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

  • Constructor Details

    • Literal

      public Literal(Object pValue)
      Constructor
  • Method Details

    • getValue

      public Object getValue()
    • setValue

      public void setValue(Object pValue)
    • evaluate

      public Object evaluate(javax.servlet.jsp.el.VariableResolver pResolver, javax.servlet.jsp.el.FunctionMapper functions, Logger pLogger) throws javax.servlet.jsp.el.ELException
      Evaluates to the literal value
      Specified by:
      evaluate in class Expression
      Throws:
      javax.servlet.jsp.el.ELException