Deprecated API

Deprecated Classes
org.apache.cocoon.selection.BrowserSelectorFactory
          replaced by BrowserSelector - code factories should no longer be used 
org.apache.cocoon.sitemap.ErrorNotifier
          Now using NotifyingGenerator in sitemap 
org.apache.cocoon.selection.HeaderSelectorFactory
          replaced by HeaderSelector - code factories should no longer be used 
org.apache.cocoon.selection.HostSelectorFactory
          replaced by HostSelector - code factories should no longer be used 
org.apache.cocoon.Notification
          Now another interface is used 
org.apache.cocoon.Notifier
          Now another class is used 
org.apache.cocoon.selection.ParameterSelectorFactory
          replaced by ParameterSelector - code factories should no longer be used 
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. 
org.apache.cocoon.matching.RegexpTargetHostMatcher
          Renamed to RegexpHostMatcher 
org.apache.cocoon.matching.RegexpTargetHostMatcherFactory
          replaced by RegexpHostMatcher - code factories should no longer be used 
org.apache.cocoon.matching.RegexpURIMatcherFactory
          replaced by RegexpURIMatcher - code factories should no longer be used 
org.apache.cocoon.matching.RequestParamMatcher
          Renamed to RequestParameterMatcher 
org.apache.cocoon.selection.RequestSelector
          Renamed to RequestParameterSelector 
org.apache.cocoon.selection.RequestSelectorFactory
          Replaced by RequestParameterSelector - code factories should no longer be used 
org.apache.cocoon.selection.SessionAttributeSelectorFactory
          replaced by SessionAttributeSelector - code factories should no longer be used 
org.apache.cocoon.selection.SessionStateSelector
          use SessionAttributeSelector instead 
org.apache.cocoon.matching.WildcardHeaderMatcherFactory
          replaced by WildcardHeaderMatcher - code factories should no longer be used 
org.apache.cocoon.matching.WildcardParameterValueMatcher
          Renamed to WildcardRequestParameterMatcher 
org.apache.cocoon.matching.WildcardParameterValueMatcherFactory
          replaced by WildcardRequestParameterMatcher - code factories should no longer be used 
org.apache.cocoon.matching.WildcardSessionAttributeMatcherFactory
          replaced by WildcardSessionAttributeMatcher - code factories should no longer be used 
org.apache.cocoon.matching.helpers.WildcardURIMatcher
          renamed to WildcardHelper 
org.apache.cocoon.matching.WildcardURIMatcherFactory
          replaced by WildcardURIMatcher - code factories should no longer be used 
 

Deprecated Interfaces
org.apache.cocoon.Notificable
          Now another interface is used 
 

Deprecated Fields
org.apache.cocoon.Constants.SESSION_STATE_ATTRIBUTE
          this is no longer used 
 

Deprecated Methods
org.apache.cocoon.environment.http.HttpResponse.encodeRedirectUrl(String)
          As of version 2.1, 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.acting.AbstractComplementaryConfigurableAction.getConfiguration(String, boolean)
          please use the getConfiguration(String, SourceResolver, boolean) version of this method 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.environment.http.HttpRequest.isRequestedSessionIdFromUrl()
          As of Version 2.1 of the Java Servlet API, use HttpRequest.isRequestedSessionIdFromURL() instead. 
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setGenerator(String, String, Parameters, Exception)
          The NotifyingGenerator gets the Notificable from the objectModel 
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.sitemap.ErrorNotifier.setThrowable(Throwable)
          Now it gets the Exception from the ObjectModel 
org.apache.cocoon.sitemap.AbstractSitemap.tryResetResponse(Map)
          Use the tryResetResponse on the Environment 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. 
 



Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.