|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.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 exists |
Object |
touchEL(PageContext pc)
create it when not exists |
Methods inherited from class railo.runtime.type.ArrayImpl |
---|
_append, append, appendEL, clear, get, get, get, get, get, getDimension, getE, insert, intKeys, iterator, keyIterator, keys, keysAsString, prepend, remove, removeE, removeEL, removeEL, resize, set, set, setE, setEL, setEL, setEL, size, sizeOf, sort, sort, toArray, toPlain |
Methods inherited from class railo.runtime.type.util.ArraySupport |
---|
add, add, addAll, addAll, contains, containsAll, containsKey, containsKey, containsKey, equals, get, indexOf, isEmpty, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, subList, toArray, toList, toString, valueIterator |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
hashCode |
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
Reference.getKey()
public String getKeyAsString()
getKeyAsString
in interface Reference
Reference.getKeyAsString()
public Object get(PageContext pc) throws PageException
get
in interface Reference
pc
- PageContext of the actuell Request
PageException
Reference.get(railo.runtime.PageContext)
public Object get(PageContext pc, Object defaultValue)
get
in interface Reference
pc
- PageContext of the actuell Request
Reference.get(railo.runtime.PageContext, java.lang.Object)
public Object touch(PageContext pc) throws PageException
Reference
touch
in interface Reference
PageException
Reference.touch(railo.runtime.PageContext)
public Object touchEL(PageContext pc)
Reference
touchEL
in interface Reference
Reference.touchEL(railo.runtime.PageContext)
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
Reference.set(railo.runtime.PageContext, java.lang.Object)
public Object setEL(PageContext pc, Object value)
setEL
in interface Reference
pc
- PageContext of the actuell Requestvalue
- resets the value of the variable
Reference.setEL(railo.runtime.PageContext, java.lang.Object)
public Object remove(PageContext pc) throws PageException
Reference
remove
in interface Reference
PageException
Reference.remove(railo.runtime.PageContext)
public Object removeEL(PageContext pc)
Reference
removeEL
in interface Reference
Reference.removeEL(railo.runtime.PageContext)
public Object getParent()
getParent
in interface Reference
Reference.getParent()
public String castToString() throws PageException
Castable
castToString
in interface Castable
castToString
in class ArraySupport
PageException
Castable.castToString()
public String castToString(String defaultValue)
Castable
castToString
in interface Castable
castToString
in class ArraySupport
StructSupport.castToString(java.lang.String)
public boolean castToBooleanValue() throws PageException
Castable
castToBooleanValue
in interface Castable
castToBooleanValue
in class ArraySupport
PageException
Castable.castToBooleanValue()
public Boolean castToBoolean(Boolean defaultValue)
Castable
castToBoolean
in interface Castable
castToBoolean
in class ArraySupport
Castable.castToBoolean(java.lang.Boolean)
public double castToDoubleValue() throws PageException
Castable
castToDoubleValue
in interface Castable
castToDoubleValue
in class ArraySupport
PageException
Castable.castToDoubleValue()
public double castToDoubleValue(double defaultValue)
Castable
castToDoubleValue
in interface Castable
castToDoubleValue
in class ArraySupport
Castable.castToDoubleValue(double)
public DateTime castToDateTime() throws PageException
Castable
castToDateTime
in interface Castable
castToDateTime
in class ArraySupport
PageException
Castable.castToDateTime()
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
Castable.castToDateTime(railo.runtime.type.dt.DateTime)
public int compareTo(boolean b) throws PageException
compareTo
in interface Castable
compareTo
in class ArraySupport
PageException
railo.runtime.op.Castable#compare(boolean)
public int compareTo(DateTime dt) throws PageException
compareTo
in interface Castable
compareTo
in class ArraySupport
PageException
Castable.compareTo(railo.runtime.type.dt.DateTime)
public int compareTo(double d) throws PageException
compareTo
in interface Castable
compareTo
in class ArraySupport
PageException
Castable.compareTo(double)
public int compareTo(String str) throws PageException
compareTo
in interface Castable
compareTo
in class ArraySupport
PageException
Castable.compareTo(java.lang.String)
public DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp)
Dumpable
toDumpData
in interface Dumpable
toDumpData
in class ArrayImpl
railo.runtime.type.ArrayImpl#toDumpData(railo.runtime.PageContext, int)
public Object clone()
clone
in class ArraySupport
ArraySupport.clone()
public Collection duplicate(boolean deepCopy)
duplicate
in class ArrayImpl
ArrayImpl.duplicate(boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |