public abstract class ScopeSupport extends StructImpl implements Scope, Sizeable
Collection.Key
TYPE_UNDEFINED
SCOPE_APPLICATION, SCOPE_ARGUMENTS, SCOPE_CALLER, SCOPE_CGI, SCOPE_CLIENT, SCOPE_CLUSTER, SCOPE_COOKIE, SCOPE_COUNT, SCOPE_FORM, SCOPE_LOCAL, SCOPE_REQUEST, SCOPE_SERVER, SCOPE_SESSION, SCOPE_UNDEFINED, SCOPE_URL, SCOPE_VAR, SCOPE_VARIABLES
TYPE_LINKED, TYPE_REGULAR, TYPE_SOFT, TYPE_SYNC, TYPE_WEAKED
Constructor and Description |
---|
ScopeSupport(boolean sync,
String name,
int type)
constructor for the Simple class
|
ScopeSupport(String name,
int type,
int mapType)
constructor for ScopeSupport
|
Modifier and Type | Method and Description |
---|---|
int |
_getId() |
int |
getType() |
String |
getTypeAsString() |
void |
initialize(PageContext pc)
Initalize Scope
|
boolean |
isInitalized()
return if the scope is Initialiesd
|
void |
release()
release scope for reuse
|
void |
release(PageContext pc)
release scope for reuse
|
long |
sizeOf()
return the size of the object
|
DumpData |
toDumpData(PageContext pageContext,
int maxlevel,
DumpProperties dp)
method to print out information to a object as HTML
|
static DumpData |
toDumpData(PageContext pageContext,
int maxlevel,
DumpProperties dp,
Struct sct,
String dspName) |
clear, containsKey, containsValue, copy, duplicate, entryIterator, equals, g, g, get, get, hashCode, keyIterator, keys, keysAsStringIterator, remove, remove, removeEL, set, setEL, size, valueIterator, values
call, callWithNamedValues, castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, clone, compareTo, compareTo, compareTo, compareTo, containsKey, containsKey, entrySet, get, get, get, get, get, getIterator, invalidKey, isEmpty, keySet, put, putAll, remove, set, set, setEL, setEL, toString
clear, clone, containsKey, containsKey, duplicate, get, get, get, get, keys, remove, removeEL, set, set, setEL, setEL, size
entryIterator, keyIterator, keysAsStringIterator, valueIterator
getIterator
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
call, callWithNamedValues, get, get, set, setEL
castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, compareTo, compareTo, compareTo, compareTo
public ScopeSupport(boolean sync, String name, int type)
name
- name of the scopetype
- scope type (SCOPE_APPLICATION,SCOPE_COOKIE use)public ScopeSupport(String name, int type, int mapType)
name
- name of the scopetype
- scope type (SCOPE_APPLICATION,SCOPE_COOKIE use)doubleLinked
- mean that the struct has predictable iteration order this make the input order fixpublic DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp)
Dumpable
toDumpData
in interface Dumpable
toDumpData
in class StructSupport
public static DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp, Struct sct, String dspName)
public boolean isInitalized()
Scope
isInitalized
in interface Scope
public void initialize(PageContext pc)
Scope
initialize
in interface Scope
pc
- Page Contextpublic void release(PageContext pc)
Scope
public int _getId()
public int getType()
getType
in interface Scope
getType
in class StructImpl
public String getTypeAsString()
getTypeAsString
in interface Scope
Copyright © 2015 Lucee