Deprecated API

Deprecated Classes
org.apache.cocoon.components.source.AbstractSAXSource
          Use the new Avalon Excalibur Source Resolving 
org.apache.cocoon.webapps.session.components.AbstractSessionComponent
          Lookup the components yourself and use contextualizable to get the current object model 
org.apache.cocoon.components.source.AbstractStreamSource
          Use the new Avalon Excalibur Source Resolving 
org.apache.cocoon.components.source.AbstractStreamWriteableSource
          Use the new Avalon Excalibur Source Resolving 
org.apache.cocoon.caching.AggregatedCacheValidity
          Use the Avalon Excalibur SourceValidity implementations instead 
org.apache.cocoon.caching.CachedEventObject
          by the CachedResponse 
org.apache.cocoon.caching.CachedStreamObject
          by the CachedResponse 
org.apache.cocoon.caching.CacheValidityToSourceValidity
          Use the Avalon Excalibur SourceValidity implementations instead 
org.apache.cocoon.transformation.CachingCIncludeTransformer
          This transformer violates the avalon/cocoon design principles 
org.apache.cocoon.acting.ComposerAction
          Use the ServiceableAction instead 
org.apache.cocoon.generation.ComposerGenerator
          Use the ServiceableGenerator instead. 
org.apache.cocoon.reading.ComposerReader
          Use the ServiceableReader instead 
org.apache.cocoon.caching.CompositeCacheValidity
          Use the Avalon Excalibur SourceValidity implementations instead 
org.apache.cocoon.acting.ConfigurableComposerAction
          Use the ConfigurableServiceableAction instead 
org.apache.cocoon.components.url.ContextURLFactory
          by the new source resolving of avalon excalibur 
org.apache.cocoon.components.store.impl.DefaultPersistentStore
          Use org.apache.cocoon.components.store.impl.JCSDefaultStore 
org.apache.cocoon.components.modules.input.DefaultsMetaModule
          Use DefaultsModule instead; this is not a 'meta' module and is thus misnamed. 
org.apache.cocoon.components.source.DelayedRefreshSourceWrapper
          by the Avalon Exalibur Source Resolving 
org.apache.cocoon.caching.DeltaTimeCacheValidity
          Use the Avalon Excalibur SourceValidity implementations instead 
org.apache.cocoon.components.source.FileSource
          Use the new avalon source resolving instead 
org.apache.cocoon.components.source.FileSourceFactory
          Use the new avalon source resolving instead 
org.apache.cocoon.components.store.FilesystemStore
          Use the FilesystemStore 
org.apache.cocoon.caching.IncludeCacheValidity
          Use the Avalon Excalibur SourceValidity implementations instead 
org.apache.cocoon.components.parser.JaxpParser
          The Avalon XML Parser is now used inside Cocoon. This role will be removed in future releases. 
org.apache.cocoon.components.store.JispFilesystemStore
          Use the DefaultStore instead. 
org.apache.cocoon.mail.MailCommandSelector
          use RequestAttributeSelector, RequestParameterSelector, or ParameterSelector instead. 
org.apache.cocoon.components.treeprocessor.MapStackResolver
          use VariableResolverFactory 
org.apache.cocoon.components.store.MemoryStore
          Use the Avalon Excalibur Store instead. 
org.apache.cocoon.transformation.helpers.MirrorRecorder
          The only user of this class (I18nTransformer) now uses ParamSaxBuffer 
org.apache.cocoon.components.store.MRUMemoryStore
          Use the Avalon Excalibur Store instead. 
org.apache.cocoon.caching.NOPCacheValidity
          Use the Avalon Excalibur SourceValidity implementations instead 
org.apache.cocoon.caching.ParametersCacheValidity
          Use the Avalon Excalibur SourceValidity implementations instead 
org.apache.cocoon.components.parser.PooledJaxpParser
          PooledJaxpParser is now the default parser for Cocoon and has thus been moved to JaxpParser - this class will be removed in a future release. The Avalon XML Parser is now used inside Cocoon. This role will be removed in future releases. 
org.apache.cocoon.matching.RegexpTargetHostMatcher
          Renamed to RegexpHostMatcher 
org.apache.cocoon.matching.RequestParamMatcher
          Renamed to RequestParameterMatcher 
org.apache.cocoon.selection.RequestSelector
          Renamed to RequestParameterSelector 
org.apache.cocoon.components.url.ResourceURLFactory
          by the new source resolving of avalon excalibur 
org.apache.cocoon.acting.SendmailAction
            
org.apache.cocoon.selection.SessionStateSelector
          use SessionAttributeSelector instead 
org.apache.cocoon.sitemap.SitemapRedirector
          This class has been used by the old sitemap engine 
org.apache.cocoon.components.source.SitemapSource
          by the Avalon Excalibur Source Resolving 
org.apache.cocoon.caching.SourceCacheValidity
          Use the Avalon Excalibur SourceValidity implementations instead 
org.apache.cocoon.components.source.SourceHandlerImpl
          The Avalon Excalibur Source Resolving is now used. 
org.apache.cocoon.components.store.StoreJanitorImpl
          Use the Avalon Excalibur Store instead. 
org.apache.cocoon.caching.TimeStampCacheValidity
          Use the Avalon Excalibur SourceValidity implementations instead 
org.apache.cocoon.components.url.URLFactoryImpl
          by the new source resolving of avalon excalibur 
org.apache.cocoon.environment.URLFactorySourceResolver
          by the new source resolving 
org.apache.cocoon.components.source.URLSource
          by the Avalon Exalibur Source Resolving 
org.apache.cocoon.woody.datatype.ValidationError
          Validations error are now a general feature of widgets, not limited widgets having a datatype. 
org.apache.cocoon.matching.WildcardParameterValueMatcher
          Renamed to WildcardRequestParameterMatcher 
org.apache.cocoon.matching.helpers.WildcardURIMatcher
          renamed to WildcardHelper 
org.apache.cocoon.components.parser.XercesParser
          The Avalon XML Parser is now used inside Cocoon. This role will be removed in future releases. 
org.apache.cocoon.generation.XMLDBCollectionGenerator
          Use the XML:DB pseudo protocol instead. 
org.apache.cocoon.generation.XMLDBGenerator
          Use the XML:DB pseudo protocol instead. 
org.apache.cocoon.sitemap.XSLTFactoryLoader
          This class has been used by the old sitemap engine 
org.apache.cocoon.components.xslt.XSLTProcessorImpl
          Use the avalon excalibur xslt processor instead. 
 

Deprecated Interfaces
org.apache.cocoon.caching.Cacheable
          by the CacheableProcessingComponent interface 
org.apache.cocoon.caching.CacheValidity
          Use the Avalon Excalibur SourceValidity implementations instead 
org.apache.cocoon.components.GlobalRequestLifecycleComponent
          Use the RequestDataStore instead. 
org.apache.cocoon.environment.ModifiableSource
          Use the Source interface instead 
org.apache.cocoon.components.source.ModifiableTraversableSource
          use the one from excalibur sourceresolve instead 
org.apache.cocoon.components.ParentAware
            
org.apache.cocoon.components.parser.Parser
          The Avalon XML Parser is now used inside Cocoon. This role will be removed in future releases. 
org.apache.cocoon.components.RequestLifecycleComponent
          Use the RequestDataStore instead. 
org.apache.cocoon.components.resolver.Resolver
          Use the Avalon Excalibur EntityResolver instead 
org.apache.cocoon.environment.Source
          Use the Source interface instead 
org.apache.cocoon.components.source.SourceFactory
          by the Avalon Exalibur Source Resolving 
org.apache.cocoon.components.source.SourceHandler
          The Avalon Excalibur Source Resolving is now used. 
org.apache.cocoon.components.store.Store
          Use the Avalon Excalibur Store instead. 
org.apache.cocoon.components.store.StoreJanitor
          Use the Avalon Excalibur Store instead. 
org.apache.cocoon.components.source.TraversableSource
          use the one from excalibur sourceresolve instead 
org.apache.cocoon.components.url.URLFactory
          by the new source resolving of avalon excalibur 
org.apache.cocoon.environment.WriteableSource
          Use the ModifiableSource interface instead 
org.apache.cocoon.xml.XMLizable
          Use org.apache.excalibur.xml.sax.XMLizable instead 
 

Deprecated Fields
org.apache.cocoon.Constants.DEPRECATED_PARSER_PROPERTY
          This will be removed in future release 
org.apache.cocoon.transformation.I18nTransformer.I18N_TYPE_ATTRIBUTE
          since 2.1. Use nested tags instead, e.g.: <i18n:param><i18n:date/></i18n:param> 
 

Deprecated Methods
org.apache.cocoon.util.StringUtils.count(String, char)
          Use StringUtils.countMatches(String, String) 
org.apache.cocoon.ant.CocoonTask.createClasspath()
          no need for creating an additional classloader 
org.apache.cocoon.xml.XMLUtils.defaultSerializeToXMLFormat()
          Use createPropertiesForXML(false) instead and add the encoding 
org.apache.cocoon.xml.XMLUtils.defaultSerializeToXMLFormat(boolean)
          Use createPropertiesForXML(boolean) instead and add the encoding 
org.apache.cocoon.environment.http.HttpResponse.encodeRedirectUrl(String)
          As of version 2.1, use encodeRedirectURL(String url) instead 
org.apache.cocoon.components.jsp.JSPEngineServletResponse.encodeRedirectUrl(String)
          use encodeRedirectURL(String url) instead. 
org.apache.cocoon.environment.http.HttpResponse.encodeUrl(String)
          As of version 2.1, use encodeURL(String url) instead 
org.apache.cocoon.components.jsp.JSPEngineServletResponse.encodeUrl(String)
          use encodeURL(String url) instead. 
org.apache.cocoon.components.xpointer.parser.SimpleCharStream.getColumn()
            
org.apache.cocoon.acting.AbstractComplementaryConfigurableAction.getConfiguration(String, boolean)
          please use the getConfiguration(String, SourceResolver, boolean) version of this method instead. 
org.apache.cocoon.components.xpointer.parser.SimpleCharStream.getLine()
            
org.apache.cocoon.environment.AbstractEnvironment.getOutputStream()
          Use AbstractEnvironment.getOutputStream(int) instead. 
org.apache.cocoon.environment.Environment.getOutputStream()
          Use Environment.getOutputStream(int) instead. 
org.apache.cocoon.environment.wrapper.EnvironmentWrapper.getOutputStream()
          use EnvironmentWrapper.getOutputStream(int) instead. 
org.apache.cocoon.environment.http.HttpRequest.getRealPath(String)
          As of Version 2.1 of the Java Servlet API, use ServletContext.getRealPath(java.lang.String)instead. 
org.apache.cocoon.components.jsp.JSPEngineServletRequest.getRealPath(String)
          use ServletContext.getRealPath(java.lang.String) instead. 
org.apache.cocoon.components.deli.DeliImpl.CocoonServletRequest.getRealPath(String)
          use DeliImpl.CocoonServletContext.getRealPath(java.lang.String) instead. 
org.apache.cocoon.servlet.BootstrapServlet.ContextWrapper.getServlet(String)
          The method BootstrapServlet.ContextWrapper.getServlet(String) overrides a deprecated method from ServletContext. 
org.apache.cocoon.components.deli.DeliImpl.CocoonServletContext.getServlet(String)
          The method DeliImpl.CocoonServletContext.getServlet(String) overrides a deprecated method from ServletContext. 
org.apache.cocoon.servlet.BootstrapServlet.ContextWrapper.getServletNames()
          The method BootstrapServlet.ContextWrapper.getServletNames() overrides a deprecated method from ServletContext. 
org.apache.cocoon.components.deli.DeliImpl.CocoonServletContext.getServletNames()
          The method DeliImpl.CocoonServletContext.getServletNames() overrides a deprecated method from ServletContext. 
org.apache.cocoon.servlet.BootstrapServlet.ContextWrapper.getServlets()
          The method BootstrapServlet.ContextWrapper.getServlets() overrides a deprecated method from ServletContext. 
org.apache.cocoon.components.deli.DeliImpl.CocoonServletContext.getServlets()
          The method DeliImpl.CocoonServletContext.getServlets() overrides a deprecated method from ServletContext. 
org.apache.cocoon.xml.dom.DOMUtil.getSingleNode(Node, String)
            
org.apache.cocoon.xml.dom.DOMUtil.getValueAsBooleanOf(Node, String)
            
org.apache.cocoon.xml.dom.DOMUtil.getValueAsBooleanOf(Node, String, boolean)
            
org.apache.cocoon.xml.dom.DOMUtil.getValueOf(Node, String)
            
org.apache.cocoon.xml.dom.DOMUtil.getValueOf(Node, String, String)
            
org.apache.cocoon.forms.formmodel.Widget.getWidget(String)
          getWidget got removed, use lookupWidget or getChild instead. 
org.apache.cocoon.environment.http.HttpRequest.isRequestedSessionIdFromUrl()
          As of Version 2.1 of the Java Servlet API, use HttpRequest.isRequestedSessionIdFromURL() instead. 
org.apache.cocoon.servlet.multipart.MultipartHttpServletRequest.isRequestedSessionIdFromUrl()
          use MultipartHttpServletRequest.isRequestedSessionIdFromURL() instead 
org.apache.cocoon.components.jsp.JSPEngineServletRequest.isRequestedSessionIdFromUrl()
          use isRequestedSessionIdFromURL instead. 
org.apache.cocoon.components.deli.DeliImpl.CocoonServletRequest.isRequestedSessionIdFromUrl()
          use DeliImpl.CocoonServletRequest.isRequestedSessionIdFromURL() instead 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ComponentManager, String, String, String, SourceResolver)
          Pass Source object instead of file name. 
org.apache.cocoon.components.language.generator.ProgramGenerator.load(ComponentManager, String, String, String, SourceResolver)
          Pass Source object instead of file name. 
org.apache.cocoon.servlet.BootstrapServlet.ContextWrapper.log(Exception, String)
          use BootstrapServlet.ContextWrapper.log(String message, Throwable throwable) instead. 
org.apache.cocoon.components.deli.DeliImpl.CocoonServletContext.log(Exception, String)
          use DeliImpl.CocoonServletContext.log(String message, Throwable throwable) instead. 
org.apache.cocoon.util.StringUtils.matchStrings(String, String)
          Use StringUtils.indexOfDifference(String, String) 
org.apache.cocoon.xml.dom.DOMUtil.node2String(Node)
          Use XMLUtils.serializeNodeToXML(Node) instead. 
org.apache.cocoon.xml.dom.DOMUtil.node2String(Node, boolean)
          Please use XMLUtils.serializeNode(Node, Properties) instead. 
org.apache.cocoon.xml.dom.DOMUtil.node2StringBuffer(Node)
          Please use XMLUtils.serializeNodeToXML(Node) instead. 
org.apache.cocoon.xml.dom.DOMUtil.node2StringBuffer(Node, boolean, String)
          Please use XMLUtils.serializeNode(Node, Properties) instead. 
org.apache.cocoon.components.source.SourceUtil.parse(ComponentManager, Source, ContentHandler)
          Use SourceUtil.parse(ServiceManager, Source, ContentHandler). 
org.apache.cocoon.environment.AbstractEnvironment.resolve(String)
          Use the resolveURI methods instead 
org.apache.cocoon.environment.SourceResolver.resolve(String)
          Use the resolveURI methods instead 
org.apache.cocoon.xml.dom.DOMUtil.selectNodeList(Node, String)
            
org.apache.cocoon.xml.dom.DOMUtil.selectSingleNode(Node, String)
            
org.apache.cocoon.xml.XMLUtils.serializeNodeToXML(Node)
          use serializeNode(Node, Properties) instead 
org.apache.cocoon.components.source.helpers.SourceProperty.setName(String)
          buggy 
org.apache.cocoon.components.source.helpers.SourceProperty.setNamespace(String)
          buggy 
org.apache.cocoon.components.xslt.XSLTProcessorImpl.setSourceResolver(SourceResolver)
          The processor can now simply lookup the source resolver. 
org.apache.cocoon.components.xslt.XSLTProcessor.setSourceResolver(SourceResolver)
          The processor can now simply lookup the source resolver. 
org.apache.cocoon.environment.http.HttpResponse.setStatus(int, String)
          As of version 2.1, due to ambiguous meaning of the message parameter. To set a status code use setStatus(int), to send an error with a description use sendError(int, String). 
org.apache.cocoon.components.jsp.JSPEngineServletResponse.setStatus(int, String)
          use sendError(int, String) instead 
org.apache.cocoon.components.modules.input.InputModuleHelper.setup(ComponentManager)
          Use the InputModuleHelper.setup(ServiceManager) method instead 
org.apache.cocoon.components.source.SourceUtil.toSAX(ComponentManager, Source, String, ContentHandler)
          Use the SourceUtil.toSAX(ServiceManager, Source, String, ContentHandler) method instead. 
 

Deprecated Constructors
org.apache.cocoon.xml.dom.DOMBuilder(DOMFactory)
          Use DOMBuilder() instead. 
org.apache.cocoon.xml.dom.DOMBuilder(DOMFactory, DOMBuilder.Listener)
          Use DOMBuilder(listener) instead. 
org.apache.cocoon.xml.dom.DOMBuilder(DOMFactory, DOMBuilder.Listener, Node)
          Use DOMBuilder(listener, parentNode) instead. 
org.apache.cocoon.mail.MailMessageSender(String)
          Please use MailSender component instead. 
 



Copyright ⌐ 1999-2004 The Apache Software Foundation. All Rights Reserved.