Package org.apache.velocity.tools.view
Interface ToolboxManager
-
- All Known Implementing Classes:
ServletToolboxManager,XMLToolboxManager
@Deprecated public interface ToolboxManager
Deprecated.Common interface for toolbox manager implementations.- Version:
- $Id$
- Author:
- Nathan Bubna, Geir Magnusson Jr., Gabe Sidler, Henning P. Schmiedehausen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidaddData(ToolInfo info)Deprecated.Adds a data object for the context.voidaddTool(ToolInfo info)Deprecated.Adds a tool to be managedMapgetToolbox(Object initData)Deprecated.Retrieves a map of the tools and data being managed.
-
-
-
Method Detail
-
addTool
void addTool(ToolInfo info)
Deprecated.Adds a tool to be managed
-
addData
void addData(ToolInfo info)
Deprecated.Adds a data object for the context.- Parameters:
info- An object that implements ToolInfo
-
getToolbox
Map getToolbox(Object initData)
Deprecated.Retrieves a map of the tools and data being managed. Tools that have an init(Object) method will be (re)initialized using the specified initData.- Parameters:
initData- data used to initialize tools- Returns:
- the created ToolboxContext
- Since:
- VelocityTools 1.2
-
-