railo.runtime.interpreter.ref.literal
Class LString

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

public final class LString
extends RefSupport
implements Literal

Literal String


Constructor Summary
LString(String str)
          constructor of the class
 
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
 

Constructor Detail

LString

public LString(String str)
constructor of the class

Parameters:
str -
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()

toString

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

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()

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