railo.runtime.interpreter.ref.literal
Class LBoolean

java.lang.Object
  extended by railo.runtime.interpreter.ref.RefSupport
      extended by railo.runtime.interpreter.ref.literal.LBoolean
All Implemented Interfaces:
Literal, Ref

public final class LBoolean
extends RefSupport
implements Literal

constructor of the class


Field Summary
static Ref FALSE
          Field FALSE
static Ref TRUE
          Field TRUE
 
Constructor Summary
LBoolean(boolean b)
          constructor with boolean
LBoolean(Boolean literal)
          constructor with Boolean
LBoolean(String str)
          constructor with boolean
 
Method Summary
 boolean eeq(Ref other)
           
 String getString()
          cast literal to a string
 String getTypeName()
          return the name name of a reference
 Object getValue()
          return the value for that the reference is for
 String toString()
           
 
Methods inherited from class railo.runtime.interpreter.ref.RefSupport
getCollection, touchValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface railo.runtime.interpreter.ref.Ref
getCollection, touchValue
 

Field Detail

TRUE

public static final Ref TRUE
Field TRUE


FALSE

public static final Ref FALSE
Field FALSE

Constructor Detail

LBoolean

public LBoolean(Boolean literal)
constructor with Boolean

Parameters:
literal -

LBoolean

public LBoolean(boolean b)
constructor with boolean

Parameters:
b -

LBoolean

public LBoolean(String str)
         throws PageException
constructor with boolean

Parameters:
str -
Throws:
PageException
Method Detail

getValue

public Object getValue()
Description copied from interface: Ref
return the value for that the reference is for

Specified by:
getValue in interface Ref
Returns:
value to reference
See Also:
Ref.getValue()

getTypeName

public String getTypeName()
Description copied from interface: Ref
return the name name of a reference

Specified by:
getTypeName in interface Ref
Returns:
type as string
See Also:
Ref.getTypeName()

getString

public String getString()
Description copied from interface: Literal
cast literal to a string

Specified by:
getString in interface Literal
Returns:
casted string
See Also:
Literal.getString()

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()

eeq

public boolean eeq(Ref other)
            throws PageException
Specified by:
eeq in interface Ref
Overrides:
eeq in class RefSupport
Throws:
PageException
See Also:
Ref.eeq(railo.runtime.interpreter.ref.Ref)


Copyright © 2012 Railo