org.apache.velocity.tools.view
Class ToolboxRuleSet

java.lang.Object
  extended by org.apache.commons.digester.RuleSetBase
      extended by org.apache.velocity.tools.view.ToolboxRuleSet
All Implemented Interfaces:
org.apache.commons.digester.RuleSet
Direct Known Subclasses:
ServletToolboxRuleSet

Deprecated. Use XmlFactoryConfigurationRuleSet

@Deprecated
public class ToolboxRuleSet
extends org.apache.commons.digester.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 961796 2010-07-08 15:18:15Z apetrelli $
Author:
Nathan Bubna, Henning P. Schmiedehausen

Nested Class Summary
protected static class ToolboxRuleSet.ParameterRule
          Deprecated.  
 
Field Summary
 
Fields inherited from class org.apache.commons.digester.RuleSetBase
namespaceURI
 
Constructor Summary
ToolboxRuleSet()
          Deprecated.  
 
Method Summary
protected  void addDataRules(org.apache.commons.digester.Digester digester)
          Deprecated. Add rules for digesting data elements.
 void addRuleInstances(org.apache.commons.digester.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(org.apache.commons.digester.Digester digester)
          Deprecated. Add rules for digesting tool elements.
protected  Class getDataInfoClass()
          Deprecated. Return the bean class to be created for data elements.
protected  Class getToolInfoClass()
          Deprecated. Return the bean class to be created for tool elements.
 
Methods inherited from class org.apache.commons.digester.RuleSetBase
getNamespaceURI
 
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(org.apache.commons.digester.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.

Specified by:
addRuleInstances in interface org.apache.commons.digester.RuleSet
Specified by:
addRuleInstances in class org.apache.commons.digester.RuleSetBase
Parameters:
digester - Digester instance to which the new Rule instances should be added.

addToolRules

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


addDataRules

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


getToolInfoClass

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


getDataInfoClass

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



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