|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--freemarker.ext.misc.IsIndexed
Determines whether a given model is an instance of a
TemplateListModel
or TemplateIndexedModel
.
Note:
IsIndexed
is a singleton instance. Use the
getInstance()
method to retrieve instances of this model.
Method Summary | |
TemplateModel |
exec(java.util.List arguments)
Executes a method call. |
static IsIndexed |
getInstance()
Return a singleton instance of this class. |
boolean |
isEmpty()
Is the object empty? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static IsIndexed getInstance()
public boolean isEmpty() throws TemplateModelException
isEmpty
in interface TemplateModel
true
if this object is empty, otherwise false
public TemplateModel exec(java.util.List arguments) throws TemplateModelException
List
of
TemplateModel
objects.exec
in interface TemplateMethodModel2
arguments
- a List
of TemplateModel
objects
containing the values of the arguments passed to the method.TemplateModel
produced by the method, or null
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |