FileDocCategorySizeDatePackage
AstInteger.javaAPI DocApache Tomcat 6.0.141072Fri Jul 20 04:20:32 BST 2007org.apache.el.parser

AstInteger

public final class AstInteger extends SimpleNode
author
Jacob Hookom [jacob@hookom.net]
version
$Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: markt $

Fields Summary
private Number
number
Constructors Summary
public AstInteger(int id)

        super(id);
    
Methods Summary
protected java.lang.NumbergetInteger()

        if (this.number == null) {
            try {
                this.number = new Long(this.image);
            } catch (ArithmeticException e1) {
                this.number = new BigInteger(this.image);
            }
        }
        return number;
    
public java.lang.ClassgetType(org.apache.el.lang.EvaluationContext ctx)

        return this.getInteger().getClass();
    
public java.lang.ObjectgetValue(org.apache.el.lang.EvaluationContext ctx)

        return this.getInteger();