|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface to define a Object as Castable, for Railo Type Casts
| Method Summary | |
java.lang.Boolean |
castToBoolean(java.lang.Boolean defaultValue)
cast the castable value to a boolean value |
boolean |
castToBooleanValue()
cast the castable value to a boolean value |
DateTime |
castToDateTime()
cast the castable value to a date time object |
DateTime |
castToDateTime(DateTime defaultValue)
cast the castable value to a date time object |
double |
castToDoubleValue()
cast the castable value to a double value |
double |
castToDoubleValue(double defaultValue)
cast the castable value to a double value |
java.lang.String |
castToString()
cast the castable value to a string, other than the Method toString, this Method can throw a Exception |
java.lang.String |
castToString(java.lang.String defaultValue)
cast the castable value to a string, return the default value, when the method is not castable |
int |
compareTo(boolean b)
|
int |
compareTo(DateTime dt)
|
int |
compareTo(double d)
|
int |
compareTo(java.lang.String str)
|
| Method Detail |
public java.lang.String castToString()
throws PageException
PageExceptionpublic java.lang.String castToString(java.lang.String defaultValue)
PageException
public boolean castToBooleanValue()
throws PageException
PageExceptionpublic java.lang.Boolean castToBoolean(java.lang.Boolean defaultValue)
PageException
public double castToDoubleValue()
throws PageException
PageExceptionpublic double castToDoubleValue(double defaultValue)
PageException
public DateTime castToDateTime()
throws PageException
PageExceptionpublic DateTime castToDateTime(DateTime defaultValue)
defaultValue - returned when it is not possible to cast to a dateTime object
PageException
public int compareTo(java.lang.String str)
throws PageException
PageException
public int compareTo(boolean b)
throws PageException
PageException
public int compareTo(double d)
throws PageException
PageException
public int compareTo(DateTime dt)
throws PageException
PageException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||