|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TemplateIndexedModel
Values that can be indexed by a numeric value must implement this interface.
This interface replaces the get method in
TemplateListModel.
The contract of this interface is general enough that an index need not start
at any particular place, be sequential, or be limited in size, other than the
limits given by TemplateNumberModel (a 64-bit signed integer).
TemplateListModel,
TemplateWriteableIndexedModel| Method Summary | |
|---|---|
TemplateModel |
getAtIndex(long index)
Get the value corresponding to the given index. |
| Methods inherited from interface freemarker.template.TemplateModel |
|---|
isEmpty |
| Method Detail |
|---|
TemplateModel getAtIndex(long index)
throws TemplateModelException
java.util.Vector.
index - the index of the underlying value we're interested in
TemplateModel representing the value for the given
index
TemplateModelException - the value could not be determined, possibly due to an index
out-of-bounds, or an otherwise undefined value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||