Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

freemarker.testcase.models
Class BooleanList2  view BooleanList2 download BooleanList2.java

java.lang.Object
  extended byfreemarker.testcase.models.BooleanList2
All Implemented Interfaces:
freemarker.template.TemplateModel, freemarker.template.TemplateSequenceModel

public class BooleanList2
extends java.lang.Object
implements freemarker.template.TemplateSequenceModel

Model for testing list models. Every other method simply delegates to a SimpleList model.

Version:
$Id: BooleanList2.java,v 1.12 2003/01/12 23:40:25 revusky Exp $

Field Summary
private  LegacyList cList
           
 
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
 
Constructor Summary
BooleanList2()
          Creates new BooleanList2
 
Method Summary
 freemarker.template.TemplateModel get(int i)
          Retrieves the i-th template model in this sequence.
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cList

private LegacyList cList
Constructor Detail

BooleanList2

public BooleanList2()
Creates new BooleanList2

Method Detail

get

public freemarker.template.TemplateModel get(int i)
                                      throws freemarker.template.TemplateModelException
Description copied from interface: freemarker.template.TemplateSequenceModel
Retrieves the i-th template model in this sequence.

Specified by:
get in interface freemarker.template.TemplateSequenceModel

size

public int size()
Specified by:
size in interface freemarker.template.TemplateSequenceModel