Class ToolboxRuleSet

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

@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

    Nested Classes
    Modifier and Type
    Class
    Description
    protected static class 
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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 Class
    Deprecated.
    Return the bean class to be created for data elements.
    protected Class
    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 Details

    • ToolboxRuleSet

      public ToolboxRuleSet()
      Deprecated.
  • Method Details

    • 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 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.