org.apache.velocity.tools.view
Interface ToolboxManager

All Known Implementing Classes:
ServletToolboxManager, XMLToolboxManager

Deprecated.

@Deprecated
public interface ToolboxManager

Common interface for toolbox manager implementations.

Version:
$Id: ToolboxManager.java 961796 2010-07-08 15:18:15Z apetrelli $
Author:
Nathan Bubna, Geir Magnusson Jr., Gabe Sidler, Henning P. Schmiedehausen

Method Summary
 void addData(ToolInfo info)
          Deprecated. Adds a data object for the context.
 void addTool(ToolInfo info)
          Deprecated. Adds a tool to be managed
 Map getToolbox(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


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.