|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList
railo.runtime.type.util.ArraySupport
railo.runtime.type.ArrayImpl
railo.runtime.type.SVArray
public final class SVArray
Simple Value Array, a Array that can't cast to a Simple Value
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface railo.runtime.type.Collection |
---|
Collection.Key |
Field Summary |
---|
Fields inherited from class railo.runtime.type.util.ArraySupport |
---|
TYPE_BOOLEAN, TYPE_BYTE, TYPE_CHARACTER, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INT, TYPE_LONG, TYPE_OBJECT, TYPE_SHORT, TYPE_STRING |
Constructor Summary | |
---|---|
SVArray()
Constructor of the class |
|
SVArray(int dimension)
Constructor of the class |
|
SVArray(Object[] objects)
Constructor of the class |
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 |
Object |
clone()
|
int |
compareTo(boolean b)
|
int |
compareTo(DateTime dt)
|
int |
compareTo(double d)
|
int |
compareTo(String str)
|
Collection |
duplicate(boolean deepCopy)
|
Object |
get(PageContext pc)
|
Object |
get(PageContext pc,
Object defaultValue)
|
Collection.Key |
getKey()
|
String |
getKeyAsString()
|
Object |
getParent()
|
int |
getPosition()
|
Object |
remove(PageContext pc)
clears the variable from collection |
Object |
removeEL(PageContext pc)
clears the variable from collection |
Object |
set(PageContext pc,
Object value)
|
Object |
setEL(PageContext pc,
Object value)
|
void |
setPosition(int position)
|
DumpData |
toDumpData(PageContext pageContext,
int maxlevel,
DumpProperties dp)
method to print out information to a object as HTML |
Object |
touch(PageContext pc)
create it when not exist |
Object |
touchEL(PageContext pc)
create it when not exist |
Methods inherited from class railo.runtime.type.ArrayImpl |
---|
_append, append, appendEL, clear, entryIterator, get, get, get, get, get, getDimension, getE, insert, intKeys, iterator, keyIterator, keys, keysAsStringIterator, prepend, remove, removeE, removeEL, removeEL, resize, set, set, setE, setEL, setEL, setEL, size, sizeOf, sort, toArray, toPlain |
Methods inherited from class railo.runtime.type.util.ArraySupport |
---|
add, addAll, call, callWithNamedValues, containsKey, containsKey, containsKey, equals, get, get, get, getIterator, hashCode, remove, remove, removeAll, retainAll, set, set, setEL, sort, toArray, toList, toString, valueIterator |
Methods inherited from class java.util.AbstractList |
---|
add, addAll, indexOf, lastIndexOf, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
contains, containsAll, isEmpty |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
add, addAll, contains, containsAll, indexOf, isEmpty, lastIndexOf, listIterator, listIterator, subList |
Constructor Detail |
---|
public SVArray()
public SVArray(int dimension) throws ExpressionException
dimension
-
ExpressionException
public SVArray(Object[] objects)
objects
- Method Detail |
---|
public int getPosition()
public void setPosition(int position)
position
- The position to set.public Collection.Key getKey()
getKey
in interface Reference
public String getKeyAsString()
getKeyAsString
in interface Reference
public Object get(PageContext pc) throws PageException
get
in interface Reference
pc
- PageContext of the actuell Request
PageException
public Object get(PageContext pc, Object defaultValue)
get
in interface Reference
pc
- PageContext of the actuell Request
public Object touch(PageContext pc) throws PageException
Reference
touch
in interface Reference
PageException
public Object touchEL(PageContext pc)
Reference
touchEL
in interface Reference
public Object set(PageContext pc, Object value) throws PageException
set
in interface Reference
pc
- PageContext of the actuell Requestvalue
- resets the value of the variable
PageException
public Object setEL(PageContext pc, Object value)
setEL
in interface Reference
pc
- PageContext of the actuell Requestvalue
- resets the value of the variable
public Object remove(PageContext pc) throws PageException
Reference
remove
in interface Reference
PageException
public Object removeEL(PageContext pc)
Reference
removeEL
in interface Reference
public Object getParent()
getParent
in interface Reference
public String castToString() throws PageException
Castable
castToString
in interface Castable
castToString
in class ArraySupport
PageException
public String castToString(String defaultValue)
Castable
castToString
in interface Castable
castToString
in class ArraySupport
public boolean castToBooleanValue() throws PageException
Castable
castToBooleanValue
in interface Castable
castToBooleanValue
in class ArraySupport
PageException
public Boolean castToBoolean(Boolean defaultValue)
Castable
castToBoolean
in interface Castable
castToBoolean
in class ArraySupport
public double castToDoubleValue() throws PageException
Castable
castToDoubleValue
in interface Castable
castToDoubleValue
in class ArraySupport
PageException
public double castToDoubleValue(double defaultValue)
Castable
castToDoubleValue
in interface Castable
castToDoubleValue
in class ArraySupport
public DateTime castToDateTime() throws PageException
Castable
castToDateTime
in interface Castable
castToDateTime
in class ArraySupport
PageException
public DateTime castToDateTime(DateTime defaultValue)
Castable
castToDateTime
in interface Castable
castToDateTime
in class ArraySupport
defaultValue
- returned when it is not possible to cast to a dateTime object
public int compareTo(boolean b) throws PageException
compareTo
in interface Castable
compareTo
in class ArraySupport
PageException
public int compareTo(DateTime dt) throws PageException
compareTo
in interface Castable
compareTo
in class ArraySupport
PageException
public int compareTo(double d) throws PageException
compareTo
in interface Castable
compareTo
in class ArraySupport
PageException
public int compareTo(String str) throws PageException
compareTo
in interface Castable
compareTo
in class ArraySupport
PageException
public DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp)
Dumpable
toDumpData
in interface Dumpable
toDumpData
in class ArrayImpl
public Object clone()
clone
in class ArraySupport
public Collection duplicate(boolean deepCopy)
duplicate
in class ArrayImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |