程序包 org.apache.velocity.tools.config
package org.apache.velocity.tools.config
-
类说明CompoundConfiguration<C extends Configuration>This base configuration class manages a set of
Propertys for whatever thing the instance of this class represents.Utility methods for handling tool configurations.This class represents configured data.Delineates the standard, known types and their associated target classes (Data.setTargetClass(java.lang.Class)and converters (Data.setConverter(java.lang.Class)).Annotation specifying the default key to use for a tool class in the case none was specified.FactoryConfigurationsubclass that simplifies the process of configuring aToolboxFactoryin Java without the use of an xml or properties configuration file.This class serves to define configuration info for aToolboxFactory.Provides support for reading a configuration file from a specified path.This reads in configuration info formatted as a property file usingExtProperties.Simple extension ofDatathat treats "name" as an alias for "key".Annotation specifying thatToolInfoshould only use the public void configure(Map) method for configuration of a tool, and skip over the step of trying to find individual property setters.This class handles configuration info for the Toolbox instances that will eventually be produced byToolboxFactory.This class handles configuration info for tools, including their key, classname, path restriction, and properties.This reads in configuration info formatted as an XML file using Commons-Digester.This provides set ofRules used by Commons-Digesterto process configuration info formatted as XML.Rule for adding configuration properties