## org.apache.taglibs.standard.lang.jstl
Class Literal

    java.lang.Object
      org.apache.taglibs.standard.lang.jstl.Expression
          org.apache.taglibs.standard.lang.jstl.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: tcfujii $
Author:
  Nathan Abramson - Art Technology Group, Shawn Bayern

Constructor Summary
`Literal(Object pValue)` Constructor

Method Summary
`Object` `evaluate(Object pContext, VariableResolver pResolver, Map functions, String defaultPrefix, Logger pLogger)` Evaluates to the literal value
`Object` `getValue()`
`void` `setValue(Object pValue)`

Methods inherited from class org.apache.taglibs.standard.lang.jstl.Expression
`getExpressionString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Literal

    public Literal(Object pValue)

  Constructor

Method Detail

### getValue

    public Object getValue()

### setValue

    public void setValue(Object pValue)

### evaluate

    public Object evaluate(Object pContext,
                           VariableResolver pResolver,
                           Map functions,
                           String defaultPrefix,
                           Logger pLogger)
                    throws ELException

  Evaluates to the literal value

  Specified by:
    `evaluate` in class `Expression`
  Throws:
    `ELException`

Copyright © 2007 Mort Bay Consulting. All Rights Reserved.