Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
freemarker.ext.jython.JythonModel
freemarker.ext.jython.JythonSequenceModel
public class JythonSequenceModel
extends JythonModel
implements TemplateSequenceModel, TemplateCollectionModel
org.python.core.PySequence
descendants).
Field Summary |
Fields inherited from class freemarker.ext.jython.JythonModel | |
object , wrapper |
Fields inherited from interface freemarker.template.TemplateBooleanModel | |
FALSE , TRUE |
Fields inherited from interface freemarker.template.TemplateModel | |
NOTHING |
Fields inherited from interface freemarker.template.TemplateScalarModel | |
EMPTY_STRING |
Constructor Summary | |
|
Method Summary | |
TemplateModel |
|
TemplateModelIterator |
|
int |
|
Methods inherited from class freemarker.ext.jython.JythonModel | |
exec , get , getAdaptedObject , getAsBoolean , getAsString , getWrappedObject , isEmpty |
public TemplateModel get(int index) throws TemplateModelException
ReturnsPyObject.__finditem__(int)
.
- Specified by:
- get in interface TemplateSequenceModel
public TemplateModelIterator iterator()
- Specified by:
- iterator in interface TemplateCollectionModel
public int size() throws TemplateModelException
ReturnsPyObject.__len__()
.
- Specified by:
- size in interface TemplateSequenceModel