org.webmacro.servlet
Class ListTool

java.lang.Object
  extended byorg.webmacro.ContextTool
      extended byorg.webmacro.servlet.ListTool
All Implemented Interfaces:
ContextObjectFactory

public class ListTool
extends ContextTool

Provide templates a uniform way of dealing with arrays and Lists

Since:
Oct. 2000
Version:
1.0
Author:
Keats Kirsch
See Also:
ListUtil

Constructor Summary
ListTool()
           
 
Method Summary
 java.lang.Object init(Context context)
          A new tool object will be instantiated per-request by calling this method.
 
Methods inherited from class org.webmacro.ContextTool
get
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListTool

public ListTool()
Method Detail

init

public java.lang.Object init(Context context)
Description copied from class: ContextTool
A new tool object will be instantiated per-request by calling this method. A ContextTool is effectively a factory used to create objects for use in templates. Some tools may simply return themselves from this method; others may instantiate new objects to hold the per-request state.

Specified by:
init in class ContextTool


Copyright © 1999-2006 WebMacro. All Rights Reserved.