org.apache.commons.el
Class BooleanLiteral

java.lang.Object
  |
  +--org.apache.commons.el.Expression
        |
        +--org.apache.commons.el.Literal
              |
              +--org.apache.commons.el.BooleanLiteral

public class BooleanLiteral
extends Literal

An expression representing a boolean literal value

Version:
$Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: luehe $
Author:
Nathan Abramson - Art Technology Group

Field Summary
static BooleanLiteral FALSE
           
static BooleanLiteral TRUE
           
 
Fields inherited from class org.apache.commons.el.Literal
mValue
 
Constructor Summary
BooleanLiteral(java.lang.String pToken)
          Constructor
 
Method Summary
 java.lang.String getExpressionString()
          Returns the expression in the expression language syntax
(package private) static java.lang.Object getValueFromToken(java.lang.String pToken)
          Parses the given token into the literal value
 
Methods inherited from class org.apache.commons.el.Literal
evaluate, getValue, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRUE

public static final BooleanLiteral TRUE

FALSE

public static final BooleanLiteral FALSE
Constructor Detail

BooleanLiteral

public BooleanLiteral(java.lang.String pToken)
Constructor

Method Detail

getValueFromToken

static java.lang.Object getValueFromToken(java.lang.String pToken)
Parses the given token into the literal value


getExpressionString

public java.lang.String getExpressionString()
Returns the expression in the expression language syntax

Specified by:
getExpressionString in class Expression


Copyright (c) 2001-2002 - Apache Software Foundation