Deprecated API


Contents
Deprecated Interfaces
org.apache.tiles.definition.Definitions
          This interface is never used, except in the deprecated class DefinitionsImpl. 
org.apache.tiles.definition.ReloadableDefinitionsFactory
          Use Refreshable. 
 

Deprecated Classes
org.apache.tiles.context.BasicAttributeContext
          Use BasicAttributeContext. 
org.apache.tiles.util.ClassUtil
          Use ClassUtil. 
org.apache.tiles.jsp.taglib.ContainerTagSupport
          Use RenderTagSupport. 
org.apache.tiles.definition.DefinitionsImpl
          This class is, in fact, part of the implementation of UrlDefinitionsFactory and ResolvingLocaleUrlDefinitionDAO. 
org.apache.tiles.context.ListAttribute
          Use ListAttribute. 
org.apache.tiles.jsp.taglib.RoleSecurityTagSupport
          Use AddAttributeTag and PutAttributeTag directly. 
 

Deprecated Enums
org.apache.tiles.Attribute.AttributeType
          Use Attribute.setRenderer(String) and Attribute.getRenderer(). 
 

Deprecated Fields
org.apache.tiles.factory.TilesContainerFactory.CONTAINER_FACTORY_INIT_PARAM
          Use AbstractTilesContainerFactory.CONTAINER_FACTORY_INIT_PARAM. 
org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
          Use DefinitionsFactory.DEFINITIONS_CONFIG. 
org.apache.tiles.definition.UrlDefinitionsFactory.lastModifiedDates
          No more used. 
org.apache.tiles.definition.UrlDefinitionsFactory.reader
          No more used. 
org.apache.tiles.definition.UrlDefinitionsFactory.sources
          Use #sourceURLs. 
 

Deprecated Methods
org.apache.tiles.Definition.addAttribute(Attribute)
          Use BasicAttributeContext.putAttribute(String, Attribute). 
org.apache.tiles.definition.UrlDefinitionsFactory.addDefinitions(Definitions, TilesRequestContext)
          Let the definitions be loaded by a DefinitionDAO. 
org.apache.tiles.definition.UrlDefinitionsFactory.addSource(Object)
          Use URLReader.addSourceURL(URL). 
org.apache.tiles.definition.LocaleDefinitionsFactory.addSource(Object)
           
org.apache.tiles.definition.DefinitionsFactory.addSource(Object)
          Let the Definitions Factory load its sources by itself. 
org.apache.tiles.definition.UrlDefinitionsFactory.calculatePostfixes(Locale)
          Use LocaleUtil.calculatePostfixes(Locale) instead. 
org.apache.tiles.definition.UrlDefinitionsFactory.concatPostfix(String, String)
          Use LocaleUtil.concatPostfix(String,String) instead 
org.apache.tiles.definition.UrlDefinitionsFactory.createDefinitions()
          Do not use! Deprecated with no replacement. 
org.apache.tiles.jsp.taglib.RenderTagSupport.execute()
          Use RenderTagSupport.render(). 
org.apache.tiles.AttributeContext.getAttributeNames()
          Use AttributeContext.getLocalAttributeNames() or AttributeContext.getCascadedAttributeNames(). 
org.apache.tiles.Definition.getAttributes()
          Use AttributeContext.getLocalAttributeNames() and AttributeContext.getCascadedAttributeNames(). 
org.apache.tiles.context.BasicAttributeContext.getContext(TilesRequestContext)
          Use TilesContainer#getAttributeContext(Object...). 
org.apache.tiles.context.BasicAttributeContext.getContextStack(TilesRequestContext)
          Use TilesContainer#getAttributeContext(Object...), TilesContainer#startContext(Object...) or TilesContainer#endContext(Object...). 
org.apache.tiles.definition.UrlDefinitionsFactory.getDefinitions()
          Do not use! Deprecated with no replacement. 
org.apache.tiles.factory.TilesContainerFactory.getFactory(Object)
          Use AbstractTilesContainerFactory.getTilesContainerFactory(Object). 
org.apache.tiles.factory.TilesContainerFactory.getFactory(Object, Map)
          Use AbstractTilesContainerFactory.getTilesContainerFactory(Object) and then TilesContainerFactory.setDefaultConfiguration(Map). 
org.apache.tiles.Attribute.getName()
          Use the getName methods in object that contain attributes. 
org.apache.tiles.definition.UrlDefinitionsFactory.getResourceNames(String)
          Deprecated without replacement. 
org.apache.tiles.definition.UrlDefinitionsFactory.getResourceString(Map)
          Deprecated without replacement. 
org.apache.tiles.servlet.context.ServletTilesApplicationContext.getServletContext()
          Use ServletTilesApplicationContext.getContext(). 
org.apache.tiles.servlet.context.ServletTilesContextFactory.getServletContext(TilesApplicationContext)
          Use TilesApplicationContext.getContext(). 
org.apache.tiles.jsp.context.JspTilesContextFactory.getServletContext(TilesApplicationContext)
          Use TilesApplicationContext.getContext(). 
org.apache.tiles.Attribute.getType()
          Use Attribute.getRenderer(). 
org.apache.tiles.Definition.hasAttributeValue(String)
          Check if the AttributeContext.getAttribute(String) returns null. 
org.apache.tiles.impl.BasicTilesContainer.initializeDefinitionsFactory(DefinitionsFactory, String, Map)
          Do not use, the Definitions Factory should be initialized by the Tiles Container Factory. 
org.apache.tiles.jsp.taglib.RenderTagSupport.isAccessAllowed()
          Implement access allowance in your own tag. 
org.apache.tiles.definition.UrlDefinitionsFactory.isContextProcessed(TilesRequestContext)
          It always return true. 
org.apache.tiles.impl.mgmt.DefinitionManager.overload(Definition, Definition)
          Use Definition#inherit(Definition). 
org.apache.tiles.definition.DefinitionsImpl.overload(Definition, Definition)
          Use BasicAttributeContext.inherit(org.apache.tiles.AttributeContext). 
org.apache.tiles.context.BasicAttributeContext.popContext(TilesRequestContext)
          Use TilesContainer#endContext(Object...). 
org.apache.tiles.context.BasicAttributeContext.pushContext(AttributeContext, TilesRequestContext)
          Use TilesContainer#startContext(Object...). 
org.apache.tiles.Definition.put(String, Object)
          Use AttributeContext.putAttribute(String, Attribute) or AttributeContext.putAttribute(String, Attribute, boolean). 
org.apache.tiles.Definition.put(String, Object, Attribute.AttributeType, String)
          Use AttributeContext.putAttribute(String, Attribute) or AttributeContext.putAttribute(String, Attribute, boolean). 
org.apache.tiles.Definition.put(String, Object, String)
          Use AttributeContext.putAttribute(String, Attribute) or AttributeContext.putAttribute(String, Attribute, boolean). 
org.apache.tiles.definition.UrlDefinitionsFactory.readDefinitions()
          Let the Definitions Factory use it. 
org.apache.tiles.definition.LocaleDefinitionsFactory.readDefinitions()
           
org.apache.tiles.definition.DefinitionsFactory.readDefinitions()
          Let the Definitions Factory use it. 
org.apache.tiles.impl.KeyedDefinitionsFactoryTilesContainer.setDefinitionsFactory(String, DefinitionsFactory, Map)
          Use KeyedDefinitionsFactoryTilesContainer.setDefinitionsFactory(String, DefinitionsFactory). 
org.apache.tiles.impl.mgmt.CachingKeyedDefinitionsFactoryTilesContainer.setDefinitionsFactory(String, DefinitionsFactory, Map)
           
org.apache.tiles.Attribute.setName(String)
          Use the setName methods in object that contain attributes. 
org.apache.tiles.Attribute.setType(Attribute.AttributeType)
          Use Attribute#setRenderer(String)). 
 

Deprecated Constructors
org.apache.tiles.Attribute(Object, String, Attribute.AttributeType)
          Use Attribute.Attribute(Object, String, String). 
org.apache.tiles.Attribute(String, Object, String, Attribute.AttributeType)
          Use Attribute#Attribute(Object, String, String))).