@Deprecated public class ServletToolboxRuleSet extends ToolboxRuleSet
The set of Digester rules required to parse a toolbox
configuration file (toolbox.xml
) for the
ServletToolboxManager class.
Modifier and Type | Class and Description |
---|---|
protected class |
ServletToolboxRuleSet.BooleanConfigRule
Deprecated.
Abstract rule for configuring boolean options on the parent
object/element of the matching element.
|
protected class |
ServletToolboxRuleSet.CreateSessionRule
Deprecated.
Rule that sets
setCreateSession() for the top object
on the stack, which must be a
org.apache.velocity.tools.ServletToolboxManager . |
protected class |
ServletToolboxRuleSet.XhtmlRule
Deprecated.
Rule that sets
setXhtml() for the top object
on the stack, which must be a
org.apache.velocity.tools.ServletToolboxManager . |
ToolboxRuleSet.ParameterRule
Constructor and Description |
---|
ServletToolboxRuleSet()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addRuleInstances(org.apache.commons.digester.Digester digester)
Deprecated.
Overrides
ToolboxRuleSet to add create-session rule. |
protected void |
addToolRules(org.apache.commons.digester.Digester digester)
Deprecated.
Overrides
ToolboxRuleSet to add rule for scope element. |
protected Class |
getToolInfoClass()
Deprecated.
Overrides
ToolboxRuleSet to use ServletToolInfo class. |
addDataRules, getDataInfoClass
public void addRuleInstances(org.apache.commons.digester.Digester digester)
ToolboxRuleSet
to add create-session rule.
These rules assume that an instance of
org.apache.velocity.tools.view.ServletToolboxManager
is
pushed onto the evaluation stack before parsing begins.
addRuleInstances
in interface org.apache.commons.digester.RuleSet
addRuleInstances
in class ToolboxRuleSet
digester
- Digester instance to which the new Rule instances
should be added.protected void addToolRules(org.apache.commons.digester.Digester digester)
ToolboxRuleSet
to add rule for scope element.addToolRules
in class ToolboxRuleSet
protected Class getToolInfoClass()
ToolboxRuleSet
to use ServletToolInfo class.getToolInfoClass
in class ToolboxRuleSet
Copyright © 2002–2014 Apache Software Foundation. All rights reserved.