FileDocCategorySizeDatePackage
IntegerLiteral.javaAPI DocGlassfish v2 API3029Sat May 05 19:17:28 BST 2007org.apache.taglibs.standard.lang.jstl

IntegerLiteral

public class IntegerLiteral extends Literal

An expression representing an integer literal value. The value is stored internally as a long.

author
Nathan Abramson - Art Technology Group
version
$Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: tcfujii $

Fields Summary
Constructors Summary
public IntegerLiteral(String pToken)
Constructor

    super (getValueFromToken (pToken));
  
Methods Summary
public java.lang.StringgetExpressionString()
Returns the expression in the expression language syntax

    return getValue ().toString ();
  
static java.lang.ObjectgetValueFromToken(java.lang.String pToken)
Parses the given token into the literal value

    return Long.valueOf(pToken);