Deprecated API


Contents
Deprecated Interfaces
org.apache.velocity.tools.view.ToolboxManager
           
org.apache.velocity.tools.view.ToolInfo
          Use ToolInfo 
org.apache.velocity.tools.view.context.ViewContext
          Use ViewContext 
 

Deprecated Classes
org.apache.velocity.tools.generic.AbstractLockConfig
          Use SafeConfig instead 
org.apache.velocity.tools.view.tools.AbstractPagerTool
           
org.apache.velocity.tools.view.tools.AbstractSearchTool
           
org.apache.velocity.tools.view.tools.BrowserSnifferTool
           
org.apache.velocity.tools.view.context.ChainedContext
          Use ViewToolContext instead 
org.apache.velocity.tools.view.tools.ContextTool
           
org.apache.velocity.tools.view.tools.CookieTool
           
org.apache.velocity.tools.view.DataInfo
          Use Data 
org.apache.velocity.tools.view.tools.ImportTool
           
org.apache.velocity.tools.generic.IteratorTool
          Use LoopTool instead 
org.apache.velocity.tools.view.tools.LinkTool
          Use LinkTool 
org.apache.velocity.tools.generic.ListTool
           
org.apache.velocity.tools.generic.log.LogSystemCommonsLog
          Use LogChuteCommonsLog instead 
org.apache.velocity.tools.view.i18n.MultiViewsTool
           
org.apache.velocity.tools.config.OldXmlFactoryConfigurationRuleSet
          This is provided merely for 1.x compatibility. 
org.apache.velocity.tools.view.tools.ParameterParser
           
org.apache.velocity.tools.view.ServletLogChute
          This class has been moved to Velocity Engine 1.6+ and only remains here temporarily for users of previous Velocity Engine versions. 
org.apache.velocity.tools.view.servlet.ServletToolboxManager
          Use XmlFactoryConfiguration 
org.apache.velocity.tools.view.servlet.ServletToolboxRuleSet
          Use XmlFactoryConfigurationRuleSet. 
org.apache.velocity.tools.view.servlet.ServletToolInfo
          Use ToolInfo 
org.apache.velocity.tools.view.servlet.ServletUtils
          Use ServletUtils 
org.apache.velocity.tools.view.ToolboxRuleSet
          Use XmlFactoryConfigurationRuleSet 
org.apache.velocity.tools.view.servlet.VelocityLayoutServlet
          This has moved to VelocityLayoutServlet 
org.apache.velocity.tools.view.servlet.VelocityViewServlet
          This class has moved to VelocityViewServlet 
org.apache.velocity.tools.view.tools.ViewRenderTool
           
org.apache.velocity.tools.view.tools.ViewResourceTool
           
org.apache.velocity.tools.view.ViewToolInfo
          Use ToolInfo 
org.apache.velocity.tools.view.servlet.WebappLoader
          Use WebappResourceLoader instead. 
org.apache.velocity.tools.view.XMLToolboxManager
          Use XmlFactoryConfiguration 
 

Deprecated Fields
org.apache.velocity.tools.view.tools.LinkTool.application
           
org.apache.velocity.tools.view.tools.LinkTool.AUTO_IGNORE_PARAMETERS_KEY
           
org.apache.velocity.tools.generic.DateTool.DEFAULT_FORMAT_KEY
           
org.apache.velocity.tools.generic.NumberTool.DEFAULT_FORMAT_KEY
           
org.apache.velocity.tools.generic.DateTool.DEFAULT_LOCALE_KEY
           
org.apache.velocity.tools.generic.NumberTool.DEFAULT_LOCALE_KEY
           
org.apache.velocity.tools.view.servlet.VelocityViewServlet.DEFAULT_TOOLBOX_PATH
          Default path is now managed by VelocityView 
org.apache.velocity.tools.view.VelocityView.DEPRECATED_TOOLS_KEY
           
org.apache.velocity.tools.view.VelocityView.DEPRECATED_USER_TOOLS_PATH
           
org.apache.velocity.tools.generic.RenderTool.KEY_CATCH_EXCEPTIONS
           
org.apache.velocity.tools.generic.RenderTool.KEY_PARSE_DEPTH
           
org.apache.velocity.tools.generic.AlternatorTool.OLD_AUTO_ALTERNATE_DEFAULT_KEY
           
org.apache.velocity.tools.generic.SafeConfig.OLD_LOCK_CONFIG_KEY
           
org.apache.velocity.tools.view.tools.ContextTool.OLD_SAFE_MODE_KEY
           
org.apache.velocity.tools.view.tools.LinkTool.SELF_ABSOLUTE_KEY
           
org.apache.velocity.tools.view.tools.LinkTool.SELF_INCLUDE_PARAMETERS_KEY
           
org.apache.velocity.tools.view.servlet.VelocityViewServlet.TOOLBOX_KEY
          toolbox key is now managed by VelocityView 
org.apache.velocity.tools.view.context.ViewContext.XHTML
            
 

Deprecated Methods
org.apache.velocity.tools.view.tools.LinkTool.addAllParameters()
          use LinkTool.addRequestParams(String...) or LinkTool.addRequestParamsExcept(String...) or LinkTool.addMissingRequestParams(String...) 
org.apache.velocity.tools.view.tools.LinkTool.addIgnore(String)
          use LinkTool.addRequestParams(String...) or LinkTool.addRequestParamsExcept(String...) or LinkTool.addMissingRequestParams(String...) 
org.apache.velocity.tools.view.tools.LinkTool.addQueryData(Map)
          use LinkTool.params(Object) 
org.apache.velocity.tools.view.tools.LinkTool.addQueryData(String, Object)
          use LinkTool.append(Object,Object) 
org.apache.velocity.tools.generic.AlternatorTool.auto(Collection)
          Will be unnecessary with Velocity 1.6 
org.apache.velocity.tools.generic.AlternatorTool.auto(Object, Object)
          Will be unnecessary with Velocity 1.6 
org.apache.velocity.tools.view.tools.LinkTool.encodeURL(String)
          use LinkTool.encode(Object) 
org.apache.velocity.tools.view.i18n.MultiViewsTool.findLocalizedResource(String)
           
org.apache.velocity.tools.view.i18n.MultiViewsTool.findLocalizedResource(String, Locale)
           
org.apache.velocity.tools.view.i18n.MultiViewsTool.findLocalizedResource(String, String)
           
org.apache.velocity.tools.generic.DateTool.getDateFormat(int, int, Locale, TimeZone)
           
org.apache.velocity.tools.generic.ResourceTool.getDefaultLocale()
           
org.apache.velocity.tools.view.VelocityView.getDeprecatedConfig(JeeConfig)
           
org.apache.velocity.tools.generic.NumberTool.getNumberFormat(int, Locale)
           
org.apache.velocity.tools.view.tools.LinkTool.getQueryData()
          use LinkTool.getQuery() 
org.apache.velocity.tools.view.tools.AbstractSearchTool.getResults()
          Use PagerTool.getItems(). 
org.apache.velocity.tools.generic.DateTool.getStyleAsInt(String)
           
org.apache.velocity.tools.generic.NumberTool.getStyleAsInt(String)
           
org.apache.velocity.tools.view.VelocityView.getTemplate(HttpServletRequest, HttpServletResponse)
          Use VelocityView.getTemplate(HttpServletRequest). 
org.apache.velocity.tools.view.tools.LinkTool.getURI()
          use LinkTool.getPath() 
org.apache.velocity.tools.view.tools.AbstractSearchTool.hasResults()
          Use PagerTool.hasItems() 
org.apache.velocity.tools.view.i18n.MultiViewsTool.init(Object)
           
org.apache.velocity.tools.view.tools.CookieTool.init(Object)
           
org.apache.velocity.tools.view.tools.BrowserSnifferTool.init(Object)
           
org.apache.velocity.tools.view.tools.ViewResourceTool.init(Object)
           
org.apache.velocity.tools.view.tools.AbstractPagerTool.init(Object)
           
org.apache.velocity.tools.view.tools.LinkTool.init(Object)
           
org.apache.velocity.tools.view.tools.ContextTool.init(Object)
           
org.apache.velocity.tools.view.tools.AbstractSearchTool.init(Object)
           
org.apache.velocity.tools.view.tools.ViewRenderTool.init(Object)
           
org.apache.velocity.tools.view.tools.ParameterParser.init(Object)
           
org.apache.velocity.tools.view.tools.ImportTool.init(Object)
           
org.apache.velocity.tools.struts.ValidatorTool.init(Object)
           
org.apache.velocity.tools.struts.TilesTool.init(Object)
           
org.apache.velocity.tools.struts.MessageResourcesTool.init(Object)
           
org.apache.velocity.tools.struts.FormTool.init(Object)
           
org.apache.velocity.tools.generic.AlternatorTool.make(boolean, Collection)
          Will be unnecessary with Velocity 1.6 
org.apache.velocity.tools.generic.AlternatorTool.make(boolean, Object, Object)
          Will be unnecessary with Velocity 1.6 
org.apache.velocity.tools.generic.AlternatorTool.make(Collection)
          Will be unnecessary with Velocity 1.6 
org.apache.velocity.tools.generic.AlternatorTool.make(Object, Object)
          Will be unnecessary with Velocity 1.6 
org.apache.velocity.tools.generic.AlternatorTool.manual(Collection)
          Will be unnecessary with Velocity 1.6 
org.apache.velocity.tools.generic.AlternatorTool.manual(Object, Object)
          Will be unnecessary with Velocity 1.6 
org.apache.velocity.tools.generic.DisplayTool.message(String, Collection)
          Will be unnecessary with Velocity 1.6 
org.apache.velocity.tools.generic.DisplayTool.message(String, Object)
          Will be unnecessary with Velocity 1.6 
org.apache.velocity.tools.generic.DisplayTool.message(String, Object, Object)
          Will be unnecessary with Velocity 1.6 
org.apache.velocity.tools.generic.MathTool.parseNumber(String)
           
org.apache.velocity.tools.view.tools.LinkTool.setAbsolute(String)
          use LinkTool.absolute(Object) 
org.apache.velocity.tools.view.tools.LinkTool.setAnchor(String)
          use LinkTool.anchor(Object) instead 
org.apache.velocity.tools.view.tools.LinkTool.setAutoIgnoreParameters(boolean)
           
org.apache.velocity.tools.generic.ResourceTool.setDefaultLocale(Locale)
           
org.apache.velocity.tools.generic.ResourceTool.setDeprecationSupportMode(boolean)
           
org.apache.velocity.tools.view.VelocityView.setDeprecationSupportMode(boolean)
           
org.apache.velocity.tools.view.tools.LinkTool.setRelative(String)
          use LinkTool.relative(Object) 
org.apache.velocity.tools.view.tools.LinkTool.setRequest(HttpServletRequest)
           
org.apache.velocity.tools.view.tools.LinkTool.setResponse(HttpServletResponse)
           
org.apache.velocity.tools.view.tools.LinkTool.setSelfAbsolute(boolean)
          use LinkTool.setForceRelative(boolean) as reversed replacement 
org.apache.velocity.tools.view.tools.LinkTool.setSelfIncludeParameters(boolean)
          use LinkTool.setIncludeRequestParams(boolean) instead 
org.apache.velocity.tools.view.context.ChainedContext.setToolbox(Map)
            
org.apache.velocity.tools.view.tools.LinkTool.setURI(String)
          use LinkTool.uri(Object) 
org.apache.velocity.tools.generic.log.LogSystemCommonsLog.setVelocityEngine(VelocityEngine)
          Use LogChuteCommonsLog.setVelocityLog(Log target) instead 
org.apache.velocity.tools.view.tools.LinkTool.setXhtml(boolean)
           
 



Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.