Package freemarker.debug
Interface DebugModel
- All Superinterfaces:
Remote
- All Known Subinterfaces:
DebuggedEnvironment
Represents the debugger-side mirror of a TemplateModel object, a Template
object, or a Configuration object. The Environment objects are also represented
by instances of this model, although not directly but through a separate
subinterface
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.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
-
Field Details
-
TYPE_SCALAR
static final int TYPE_SCALAR- See Also:
-
TYPE_NUMBER
static final int TYPE_NUMBER- See Also:
-
TYPE_DATE
static final int TYPE_DATE- See Also:
-
TYPE_BOOLEAN
static final int TYPE_BOOLEAN- See Also:
-
TYPE_SEQUENCE
static final int TYPE_SEQUENCE- See Also:
-
TYPE_COLLECTION
static final int TYPE_COLLECTION- See Also:
-
TYPE_HASH
static final int TYPE_HASH- See Also:
-
TYPE_HASH_EX
static final int TYPE_HASH_EX- See Also:
-
TYPE_METHOD
static final int TYPE_METHOD- See Also:
-
TYPE_METHOD_EX
static final int TYPE_METHOD_EX- See Also:
-
TYPE_TRANSFORM
static final int TYPE_TRANSFORM- See Also:
-
TYPE_ENVIRONMENT
static final int TYPE_ENVIRONMENT- See Also:
-
TYPE_TEMPLATE
static final int TYPE_TEMPLATE- See Also:
-
TYPE_CONFIGURATION
static final int TYPE_CONFIGURATION- See Also:
-
-
Method Details
-
getAsString
-
getAsNumber
-
getAsBoolean
-
getAsDate
-
getDateType
-
size
-
get
-
get
-
get
-
get
-
getCollection
-
keys
-
getModelTypes
- Throws:
RemoteException
-