org.apache.velocity.tools.view
Class ToolboxRuleSet

java.lang.Object
  extended by RuleSetBase
      extended by org.apache.velocity.tools.view.ToolboxRuleSet
Direct Known Subclasses:
ServletToolboxRuleSet

Deprecated. Use XmlFactoryConfigurationRuleSet

@Deprecated
public class ToolboxRuleSet
extends RuleSetBase

The set of Digester rules required to parse a toolbox configuration file (toolbox.xml) for the XMLToolboxManager class.

Since:
VelocityTools 1.1
Version:
$Id: ToolboxRuleSet.java 595822 2007-11-16 21:07:51Z nbubna $
Author:
Nathan Bubna, Henning P. Schmiedehausen

Nested Class Summary
protected static class ToolboxRuleSet.ParameterRule
          Deprecated.  
 
Constructor Summary
ToolboxRuleSet()
          Deprecated.  
 
Method Summary
protected  void addDataRules(Digester digester)
          Deprecated. Add rules for digesting data elements.
 void addRuleInstances(Digester digester)
          Deprecated. Add the set of Rule instances defined in this RuleSet to the specified Digester instance, associating them with our namespace URI (if any).
protected  void addToolRules(Digester digester)
          Deprecated. Add rules for digesting tool elements.
protected  java.lang.Class getDataInfoClass()
          Deprecated. Return the bean class to be created for data elements.
protected  java.lang.Class getToolInfoClass()
          Deprecated. Return the bean class to be created for tool elements.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolboxRuleSet

public ToolboxRuleSet()
Deprecated. 
Method Detail

addRuleInstances

public void addRuleInstances(Digester digester)
Deprecated. 

Add the set of Rule instances defined in this RuleSet to the specified Digester instance, associating them with our namespace URI (if any). This method should only be called by a Digester instance. These rules assume that an instance of org.apache.velocity.tools.view.ToolboxManager is pushed onto the evaluation stack before parsing begins.

Parameters:
digester - Digester instance to which the new Rule instances should be added.

addToolRules

protected void addToolRules(Digester digester)
Deprecated. 
Add rules for digesting tool elements.


addDataRules

protected void addDataRules(Digester digester)
Deprecated. 
Add rules for digesting data elements.


getToolInfoClass

protected java.lang.Class getToolInfoClass()
Deprecated. 
Return the bean class to be created for tool elements.


getDataInfoClass

protected java.lang.Class getDataInfoClass()
Deprecated. 
Return the bean class to be created for data elements.



Copyright (c) 2003-2007 Apache Software Foundation