|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.interpreter.ref.literal.LNumber
public final class LNumber
Literal Number
Field Summary | |
---|---|
static LNumber |
ONE
|
static LNumber |
ZERO
|
Constructor Summary | |
---|---|
LNumber(Double literal)
constructor of the class |
|
LNumber(String literal)
constructor of the class |
Method Summary | |
---|---|
boolean |
eeq(PageContext pc,
Ref other)
|
Object |
getCollection(PageContext pc)
return the value for that the reference is for |
String |
getString(PageContext pc)
cast literal to a string |
String |
getTypeName()
return the name name of a reference |
Object |
getValue(PageContext pc)
return the value for that the reference is for |
String |
toString()
|
Object |
touchValue(PageContext pc)
return the value for that the reference is for |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final LNumber ZERO
public static final LNumber ONE
Constructor Detail |
---|
public LNumber(Double literal)
literal
- public LNumber(String literal) throws PageException
literal
-
PageException
Method Detail |
---|
public Object getValue(PageContext pc)
Ref
getValue
in interface Ref
public Object getCollection(PageContext pc)
Ref
getCollection
in interface Ref
public String getTypeName()
Ref
getTypeName
in interface Ref
public Object touchValue(PageContext pc)
Ref
touchValue
in interface Ref
public String getString(PageContext pc)
Literal
getString
in interface Literal
public String toString()
toString
in class Object
public boolean eeq(PageContext pc, Ref other) throws PageException
eeq
in interface Ref
PageException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |