org.apache.commons.el

Class 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(String pToken)
Constructor

Method Summary

String
getExpressionString()
Returns the expression in the expression language syntax
(package private) static Object
getValueFromToken(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 org.apache.commons.el.Expression

evaluate, getExpressionString

Field Details

FALSE

public static final BooleanLiteral FALSE


TRUE

public static final BooleanLiteral TRUE

Constructor Details

BooleanLiteral

public BooleanLiteral(String pToken)
Constructor

Method Details

getExpressionString

public String getExpressionString()
Returns the expression in the expression language syntax
Overrides:
getExpressionString in interface Expression


getValueFromToken

(package private) static Object getValueFromToken(String pToken)
Parses the given token into the literal value


Copyright (c) 2001-2002 - Apache Software Foundation