类 ToolboxConfiguration
java.lang.Object
org.apache.velocity.tools.config.Configuration
org.apache.velocity.tools.config.CompoundConfiguration<ToolConfiguration>
org.apache.velocity.tools.config.ToolboxConfiguration
- 所有已实现的接口:
Comparable<Configuration>
This class handles configuration info for the Toolbox instances
that will eventually be produced by ToolboxFactory
.
It contains ToolConfiguration
s for tools which will be managed
by those toolboxes, as well the toolboxes' scope and
any other Property
s which you intend to be available
to all the tools in the toolbox.
Most users will not find themselves directly using the API of this class.
NOTE: Two instances of this class are considered equal() if their scopes are equal. This is not the intuitive behavior at this level but is done to facilitate intuitive behavior in the higher APIs, which are much more likely to be used directly.
- 版本:
- $Id: ToolboxConfiguration.java 511959 2007-02-26 19:24:39Z nbubna $
- 作者:
- Nathan Bubna
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
addTool
(ToolConfiguration tool) int
compareTo
(Configuration conf) boolean
getScope()
getTools()
int
hashCode()
void
removeTool
(ToolConfiguration tool) void
void
setTools
(Collection<ToolConfiguration> tools) toString()
void
validate()
从类继承的方法 org.apache.velocity.tools.config.CompoundConfiguration
addChild, addConfiguration, appendChildren, getChild, getChildren, hasChildren, removeChild, setChildren
从类继承的方法 org.apache.velocity.tools.config.Configuration
addConfiguration, addProperty, appendProperties, getProperties, getProperty, getPropertyMap, hasProperties, removeProperty, removeProperty, setProperties, setProperty, setPropertyMap
-
字段详细资料
-
scope
-
-
构造器详细资料
-
ToolboxConfiguration
public ToolboxConfiguration()
-
-
方法详细资料
-
setScope
-
getScope
-
addTool
-
removeTool
-
getTool
-
getTools
-
setTools
-
validate
public void validate() -
compareTo
- 指定者:
compareTo
在接口中Comparable<Configuration>
- 覆盖:
compareTo
在类中Configuration
-
hashCode
public int hashCode() -
equals
- 覆盖:
equals
在类中CompoundConfiguration<ToolConfiguration>
-
toString
-