org.apache.cocoon.webapps.session.transformation
Class AbstractSessionTransformer

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.xml.AbstractXMLProducer
          extended by org.apache.cocoon.xml.AbstractXMLPipe
              extended by org.apache.cocoon.transformation.AbstractTransformer
                  extended by org.apache.cocoon.transformation.AbstractSAXTransformer
                      extended by org.apache.cocoon.webapps.session.transformation.AbstractSessionTransformer
All Implemented Interfaces:
Poolable, Recyclable, Disposable, Component, Configurable, LogEnabled, Serviceable, SitemapModelComponent, Transformer, XMLPipe, XMLProducer, XMLConsumer, ContentHandler, LexicalHandler
Direct Known Subclasses:
SessionPreTransformer

Deprecated. This block is deprecated and will be removed in future versions.

public abstract class AbstractSessionTransformer
extends AbstractSAXTransformer

This class is the basis for all session transformers.

Version:
$Id: AbstractSessionTransformer.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

Field Summary
 
Fields inherited from class org.apache.cocoon.transformation.AbstractSAXTransformer
context, defaultNamespaceURI, EMPTY_ATTRIBUTES, emptyAttributes, ignoreEmptyCharacters, ignoreEventsCount, ignoreHooksCount, ignoreWhitespaces, manager, namespaceURI, objectModel, parameters, recorderStack, request, resolver, response, source, stack
 
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
 
Fields inherited from interface org.apache.cocoon.transformation.Transformer
ROLE
 
Constructor Summary
AbstractSessionTransformer()
          Deprecated.  
 
Method Summary
protected  ContextManager getContextManager()
          Deprecated. Get the ContextManager component
protected  FormManager getFormManager()
          Deprecated. Get the FormManager component
 Session getSession()
          Deprecated. Get the current session if available or return null.
protected  SessionManager getSessionManager()
          Deprecated. Get the SessionManager component
 void recycle()
          Deprecated. Recycle this component.
 
Methods inherited from class org.apache.cocoon.transformation.AbstractSAXTransformer
addRecorder, characters, comment, configure, dispose, endCDATA, endDocument, endDTD, endElement, endEntity, endParametersRecording, endParametersRecording, endPrefixMapping, endRecording, endSAXRecording, endSerializedXMLRecording, endTextRecording, endTransformingElement, findPrefixMapping, getMutableAttributes, ignorableWhitespace, processingInstruction, removeRecorder, sendEndElementEvent, sendEndElementEventNS, sendEndPrefixMapping, sendEvents, sendParametersEvents, sendStartElementEvent, sendStartElementEvent, sendStartElementEventNS, sendStartElementEventNS, sendStartPrefixMapping, sendTextEvent, service, setDocumentLocator, setup, setupTransforming, skippedEntity, startCDATA, startDocument, startDTD, startElement, startEntity, startParametersRecording, startPrefixMapping, startRecording, startSAXRecording, startSerializedXMLRecording, startTextRecording, startTransformingElement
 
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setConsumer, setContentHandler, setLexicalHandler
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
 

Constructor Detail

AbstractSessionTransformer

public AbstractSessionTransformer()
Deprecated. 
Method Detail

getSessionManager

protected SessionManager getSessionManager()
                                    throws ProcessingException
Deprecated. 
Get the SessionManager component

Throws:
ProcessingException

getContextManager

protected ContextManager getContextManager()
                                    throws ProcessingException
Deprecated. 
Get the ContextManager component

Throws:
ProcessingException

getFormManager

protected FormManager getFormManager()
                              throws ProcessingException
Deprecated. 
Get the FormManager component

Throws:
ProcessingException

recycle

public void recycle()
Deprecated. 
Recycle this component.

Specified by:
recycle in interface Recyclable
Overrides:
recycle in class AbstractSAXTransformer

getSession

public Session getSession()
                   throws ProcessingException
Deprecated. 
Get the current session if available or return null.

Returns:
The Session object or null.
Throws:
ProcessingException


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.