|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.type.KeyImpl
public class KeyImpl
Constructor Summary | |
---|---|
KeyImpl()
|
Method Summary | |
---|---|
Boolean |
castToBoolean(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 |
String |
castToString()
cast the castable value to a string, other than the Method toString, this Method can throw a Exception |
String |
castToString(String defaultValue)
cast the castable value to a string, return the default value, when the method is not castable |
char |
charAt(int index)
return char at given position |
int |
compareTo(boolean b)
|
int |
compareTo(DateTime dt)
|
int |
compareTo(double d)
|
int |
compareTo(Object o)
|
int |
compareTo(String str)
|
boolean |
equals(Object other)
|
boolean |
equalsIgnoreCase(Collection.Key key)
compare to object, ignore case of input |
int |
getId()
|
static Collection.Key |
getInstance(String key)
used for static iniatisation of a key object (used by compiler) |
String |
getLowerString()
return key as lower case String |
String |
getString()
return key as String |
String |
getUpperString()
return key as upper case String |
int |
hashCode()
|
static Collection.Key |
init(String key)
for dynamic loading of key objects |
static Collection.Key |
intern(String key)
|
char |
lowerCharAt(int index)
return lower case char a given position |
void |
readExternal(ObjectInput in)
|
long |
sizeOf()
return the size of the object |
static Array |
toArray(Collection.Key[] keys)
|
static Collection.Key |
toKey(Object obj)
|
static Collection.Key |
toKey(Object obj,
Collection.Key defaultValue)
|
static String |
toList(Collection.Key[] array,
String delimeter)
|
static Array |
toLowerCaseArray(Collection.Key[] keys)
|
static String |
toLowerCaseList(Collection.Key[] array,
String delimeter)
|
String |
toString()
|
static Array |
toUpperCaseArray(Collection.Key[] keys)
|
static String |
toUpperCaseList(Collection.Key[] array,
String delimeter)
|
char |
upperCharAt(int index)
return upper case char a given position |
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Collection.Key ACTION
public static final Collection.Key CFID
public static final Collection.Key CFTOKEN
public static final Collection.Key DETAIL
public static final Collection.Key ID
public static final Collection.Key RETURN_FORMAT
public static final Collection.Key NAME
public static final Collection.Key NAME_UC
public static final Collection.Key DATA
public static final Collection.Key S3
public static final Collection.Key SIZE
public static final Collection.Key SUPER
public static final Collection.Key SUPER_UC
public static final Collection.Key TEMPLATE
public static final Collection.Key THIS
public static final Collection.Key THIS_UC
public static final Collection.Key TIME
public static final Collection.Key TYPE
public static final Collection.Key HINT
public static final Collection.Key REQUIRED
public static final Collection.Key DEFAULT
public static final Collection.Key DATA_SOURCE
public static final Collection.Key ARGUMENT_COLLECTION
public static final Collection.Key ACCESS
public static final Collection.Key OUTPUT
public static final Collection.Key RETURN_TYPE
public static final Collection.Key DESCRIPTION
public static final Collection.Key OWNER
public static final Collection.Key DISPLAY_NAME
public static final Collection.Key PARAMETERS
public static final Collection.Key VALUE
public static final Collection.Key PATH
public static final Collection.Key ENTRY
public static final Collection.Key KEY
public static final Collection.Key LINE
public static final Collection.Key COLUMN
public static final Collection.Key ARGUMENTS
public static final Collection.Key STATUS
public static final Collection.Key THREAD
public static final Collection.Key VARIABLES
public static final Collection.Key FIELD_NAMES
public static final Collection.Key LOCAL
public static final Collection.Key SERVER
public static final Collection.Key EXCEPTIONS
public static final Collection.Key BODY
public static final Collection.Key TITLE
public static final Collection.Key URL
public static final Collection.Key LABEL
public static final Collection.Key TOTAL
Constructor Detail |
---|
public KeyImpl()
Method Detail |
---|
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public static Collection.Key init(String key)
string
-
public static Collection.Key getInstance(String key)
string
-
public static Collection.Key intern(String key)
public char charAt(int index)
Collection.Key
charAt
in interface Collection.Key
Collection.Key.charAt(int)
public char lowerCharAt(int index)
Collection.Key
lowerCharAt
in interface Collection.Key
Collection.Key.lowerCharAt(int)
public char upperCharAt(int index)
Collection.Key
upperCharAt
in interface Collection.Key
public String getLowerString()
Collection.Key
getLowerString
in interface Collection.Key
Collection.Key.getLowerString()
public String getUpperString()
Collection.Key
getUpperString
in interface Collection.Key
public String toString()
toString
in class Object
Object.toString()
public String getString()
Collection.Key
getString
in interface Collection.Key
Collection.Key.getString()
public boolean equals(Object other)
equals
in class Object
Object.equals(java.lang.Object)
public boolean equalsIgnoreCase(Collection.Key key)
Collection.Key
equalsIgnoreCase
in interface Collection.Key
Collection.Key.equalsIgnoreCase(railo.runtime.type.Collection.Key)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public int getId()
getId
in interface Collection.Key
Collection.Key.getId()
public boolean castToBooleanValue() throws PageException
Castable
castToBooleanValue
in interface Castable
PageException
Castable.castToBooleanValue()
public Boolean castToBoolean(Boolean defaultValue)
Castable
castToBoolean
in interface Castable
Castable.castToBoolean(java.lang.Boolean)
public DateTime castToDateTime() throws PageException
Castable
castToDateTime
in interface Castable
PageException
Castable.castToDateTime()
public DateTime castToDateTime(DateTime defaultValue)
Castable
castToDateTime
in interface Castable
defaultValue
- returned when it is not possible to cast to a dateTime object
Castable.castToDateTime(railo.runtime.type.dt.DateTime)
public double castToDoubleValue() throws PageException
Castable
castToDoubleValue
in interface Castable
PageException
Castable.castToDoubleValue()
public double castToDoubleValue(double defaultValue)
Castable
castToDoubleValue
in interface Castable
Castable.castToDoubleValue(double)
public String castToString() throws PageException
Castable
castToString
in interface Castable
PageException
Castable.castToString()
public String castToString(String defaultValue)
Castable
castToString
in interface Castable
Castable.castToString(java.lang.String)
public int compareTo(boolean b) throws PageException
compareTo
in interface Castable
PageException
railo.runtime.op.Castable#compare(boolean)
public int compareTo(DateTime dt) throws PageException
compareTo
in interface Castable
PageException
Castable.compareTo(railo.runtime.type.dt.DateTime)
public int compareTo(double d) throws PageException
compareTo
in interface Castable
PageException
Castable.compareTo(double)
public int compareTo(String str) throws PageException
compareTo
in interface Castable
PageException
Castable.compareTo(java.lang.String)
public int compareTo(Object o)
compareTo
in interface Comparable
public static Array toUpperCaseArray(Collection.Key[] keys)
public static Array toLowerCaseArray(Collection.Key[] keys)
public static Array toArray(Collection.Key[] keys)
public static String toUpperCaseList(Collection.Key[] array, String delimeter)
public static String toList(Collection.Key[] array, String delimeter)
public static String toLowerCaseList(Collection.Key[] array, String delimeter)
public static Collection.Key toKey(Object obj, Collection.Key defaultValue)
public static Collection.Key toKey(Object obj) throws CasterException
CasterException
public long sizeOf()
Sizeable
sizeOf
in interface Sizeable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |