public interface DebugModel
extends java.rmi.Remote
DebuggedEnvironment
. The interface is a union of
almost all of FreeMarker template models with identical method signatures.
For purposes of optimizing network traffic there are bulk retrieval methods
for sequences and hashes, as well as a getModelTypes()
method that
returns a bit mask of various TYPE_xxx constants flagging which
template models are implemented by the mirrored object.Modifier and Type | Field and Description |
---|---|
static int |
TYPE_BOOLEAN |
static int |
TYPE_COLLECTION |
static int |
TYPE_CONFIGURATION |
static int |
TYPE_DATE |
static int |
TYPE_ENVIRONMENT |
static int |
TYPE_HASH |
static int |
TYPE_HASH_EX |
static int |
TYPE_METHOD |
static int |
TYPE_METHOD_EX |
static int |
TYPE_NUMBER |
static int |
TYPE_SCALAR |
static int |
TYPE_SEQUENCE |
static int |
TYPE_TEMPLATE |
static int |
TYPE_TRANSFORM |
Modifier and Type | Method and Description |
---|---|
DebugModel |
get(int index) |
DebugModel[] |
get(int fromIndex,
int toIndex) |
DebugModel |
get(java.lang.String key) |
DebugModel[] |
get(java.lang.String[] keys) |
boolean |
getAsBoolean() |
java.util.Date |
getAsDate() |
java.lang.Number |
getAsNumber() |
java.lang.String |
getAsString() |
DebugModel[] |
getCollection() |
int |
getDateType() |
int |
getModelTypes() |
java.lang.String[] |
keys() |
int |
size() |
static final int TYPE_SCALAR
static final int TYPE_NUMBER
static final int TYPE_DATE
static final int TYPE_BOOLEAN
static final int TYPE_SEQUENCE
static final int TYPE_COLLECTION
static final int TYPE_HASH
static final int TYPE_HASH_EX
static final int TYPE_METHOD
static final int TYPE_METHOD_EX
static final int TYPE_TRANSFORM
static final int TYPE_ENVIRONMENT
static final int TYPE_TEMPLATE
static final int TYPE_CONFIGURATION
java.lang.String getAsString() throws TemplateModelException, java.rmi.RemoteException
TemplateModelException
java.rmi.RemoteException
java.lang.Number getAsNumber() throws TemplateModelException, java.rmi.RemoteException
TemplateModelException
java.rmi.RemoteException
boolean getAsBoolean() throws TemplateModelException, java.rmi.RemoteException
TemplateModelException
java.rmi.RemoteException
java.util.Date getAsDate() throws TemplateModelException, java.rmi.RemoteException
TemplateModelException
java.rmi.RemoteException
int getDateType() throws TemplateModelException, java.rmi.RemoteException
TemplateModelException
java.rmi.RemoteException
int size() throws TemplateModelException, java.rmi.RemoteException
TemplateModelException
java.rmi.RemoteException
DebugModel get(int index) throws TemplateModelException, java.rmi.RemoteException
TemplateModelException
java.rmi.RemoteException
DebugModel[] get(int fromIndex, int toIndex) throws TemplateModelException, java.rmi.RemoteException
TemplateModelException
java.rmi.RemoteException
DebugModel get(java.lang.String key) throws TemplateModelException, java.rmi.RemoteException
TemplateModelException
java.rmi.RemoteException
DebugModel[] get(java.lang.String[] keys) throws TemplateModelException, java.rmi.RemoteException
TemplateModelException
java.rmi.RemoteException
DebugModel[] getCollection() throws TemplateModelException, java.rmi.RemoteException
TemplateModelException
java.rmi.RemoteException
java.lang.String[] keys() throws TemplateModelException, java.rmi.RemoteException
TemplateModelException
java.rmi.RemoteException
int getModelTypes() throws java.rmi.RemoteException
java.rmi.RemoteException