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(PageContext pc, Ref other)
           
 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()
           
 
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(PageContext pc)
Description copied from interface: Ref
return the value for that the reference is for

Specified by:
getValue in interface Ref
Returns:
value to reference

toString

public String toString()
Overrides:
toString in class Object

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

getString

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

Specified by:
getString in interface Literal
Returns:
casted string

eeq

public boolean eeq(PageContext pc,
                   Ref other)
            throws PageException
Specified by:
eeq in interface Ref
Overrides:
eeq in class RefSupport
Throws:
PageException


Copyright © 2012 Railo