Uses of Class
org.apache.velocity.tools.config.FactoryConfiguration
-
Packages that use FactoryConfiguration Package Description org.apache.velocity.tools org.apache.velocity.tools.config org.apache.velocity.tools.view Contains tools and supporting infrastructure for using those tools in a servlet environment as well as general use classes to support use of Velocity as (or in) the view layer of web applications. -
-
Uses of FactoryConfiguration in org.apache.velocity.tools
Methods in org.apache.velocity.tools that return FactoryConfiguration Modifier and Type Method Description protected FactoryConfigurationToolManager. findConfig(String path)Methods in org.apache.velocity.tools with parameters of type FactoryConfiguration Modifier and Type Method Description voidToolboxFactory. configure(FactoryConfiguration config)voidToolManager. configure(FactoryConfiguration config) -
Uses of FactoryConfiguration in org.apache.velocity.tools.config
Subclasses of FactoryConfiguration in org.apache.velocity.tools.config Modifier and Type Class Description classEasyFactoryConfigurationFactoryConfigurationsubclass that simplifies the process of configuring aToolboxFactoryin Java without the use of an xml or properties configuration file.classFileFactoryConfigurationProvides support for reading a configuration file from a specified path, This frees the user from having to obtain an InputStream themselves.classPropertiesFactoryConfigurationThis reads in configuration info formatted as a property file usingExtendedPropertiesfrom Commons-Collections.classXmlFactoryConfigurationThis reads in configuration info formatted as an XML file using Commons-Digester.Methods in org.apache.velocity.tools.config that return FactoryConfiguration Modifier and Type Method Description static FactoryConfigurationConfigurationUtils. find(String path)Searches for a configuration file at the specified path and returns it in the form of aFactoryConfiguration.static FactoryConfigurationConfigurationUtils. findFromSystemProperty()Returns aFactoryConfigurationloaded from the path specified in the "org.apache.velocity.tools" system property (if any).static FactoryConfigurationConfigurationUtils. findInClasspath(String path)static FactoryConfigurationConfigurationUtils. findInClasspath(String path, Object caller)Searches the classpath for a configuration file matching the specified path.static FactoryConfigurationConfigurationUtils. findInFileSystem(String path)Searches the file system for a configuration file matching the specified path.static FactoryConfigurationConfigurationUtils. getAutoLoaded()Returns aFactoryConfigurationincluding allConfigurationUtils.getDefaultTools()as well as any tools that can be automatically loaded from "tools.xml" or "tools.properties" found at the root of the classpath or in the current directory.static FactoryConfigurationConfigurationUtils. getAutoLoaded(boolean includeDefaults)Returns aFactoryConfigurationcomposed, in order of the following configurations:ConfigurationUtils.getDefaultTools()(only if includeDefaults istrue) All "tools.xml" configurations found in the classpath root, in the order found All "tools.properties" configurations found in the classpath root, in the order found The "tools.xml" file in the current directory (if any) The "tools.properties" file in the current directory (if any) If the includeDefaults parameter is null and no such files described above can be found, then the configuration returned by this method will be empty, but it should never benull.static FactoryConfigurationConfigurationUtils. getDefaultTools()Returns the "default"FactoryConfiguration.static FactoryConfigurationConfigurationUtils. getFromClass(Class factory)static FactoryConfigurationConfigurationUtils. getFromClass(String classname)static FactoryConfigurationConfigurationUtils. getGenericTools()Returns aFactoryConfigurationincluding all default "GenericTools" available and no others.static FactoryConfigurationConfigurationUtils. getVelocityStruts()Returns aFactoryConfigurationincluding all default "VelocityStruts" tools available as well as the default "VelocityView" tools and "GenericTools".static FactoryConfigurationConfigurationUtils. getVelocityView()Returns aFactoryConfigurationincluding all default "VelocityView" tools available as well as the default "GenericTools".static FactoryConfigurationConfigurationUtils. load(String path)Returns aFactoryConfigurationloaded from a configuration file at the specified path.static FactoryConfigurationConfigurationUtils. read(URL url)Returns aFactoryConfigurationread from a known configuration file type at the specifiedURL.Methods in org.apache.velocity.tools.config with parameters of type FactoryConfiguration Modifier and Type Method Description voidFactoryConfiguration. addConfiguration(FactoryConfiguration config)voidConfigurationCleaner. clean(FactoryConfiguration factory)abstract voidOldXmlFactoryConfigurationRuleSet.BooleanConfigRule. setBoolean(FactoryConfiguration parent, Boolean value)voidOldXmlFactoryConfigurationRuleSet.CreateSessionRule. setBoolean(FactoryConfiguration factory, Boolean b)voidOldXmlFactoryConfigurationRuleSet.XhtmlRule. setBoolean(FactoryConfiguration factory, Boolean b) -
Uses of FactoryConfiguration in org.apache.velocity.tools.view
Methods in org.apache.velocity.tools.view that return FactoryConfiguration Modifier and Type Method Description protected FactoryConfigurationViewToolManager. findConfig(String path)static FactoryConfigurationServletUtils. getConfiguration(String path, javax.servlet.ServletContext application)static FactoryConfigurationServletUtils. getConfiguration(String path, javax.servlet.ServletContext application, boolean deprecationSupportMode)static FactoryConfigurationServletUtils. getConfiguration(javax.servlet.ServletContext application)protected FactoryConfigurationVelocityView. getConfiguration(String path)protected FactoryConfigurationVelocityView. getConfiguration(String path, boolean required)protected FactoryConfigurationVelocityView. getDeprecatedConfig(JeeConfig config)Deprecated.Methods in org.apache.velocity.tools.view with parameters of type FactoryConfiguration Modifier and Type Method Description voidViewToolManager. configure(FactoryConfiguration config)
-