org.apache.cocoon.webapps.session.transformation
Class AbstractSessionTransformer
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.xml.AbstractXMLPipe
org.apache.cocoon.transformation.AbstractTransformer
org.apache.cocoon.transformation.AbstractSAXTransformer
org.apache.cocoon.webapps.session.transformation.AbstractSessionTransformer
- All Implemented Interfaces:
- Configurable, ContentHandler, Disposable, LexicalHandler, LogEnabled, Poolable, Recyclable, Serviceable, SitemapModelComponent, Transformer, XMLConsumer, XMLConsumer, XMLPipe, XMLProducer
- Direct Known Subclasses:
- SessionPreTransformer
- public abstract class AbstractSessionTransformer
- extends AbstractSAXTransformer
This class is the basis for all session transformers.
- Version:
- $Id: AbstractSessionTransformer.java 168372 2005-05-05 18:29:52Z vgritsenko $
- Author:
- Carsten Ziegeler
Fields inherited from class org.apache.cocoon.transformation.AbstractSAXTransformer |
context, defaultNamespaceURI, EMPTY_ATTRIBUTES, ignoreEmptyCharacters, ignoreEventsCount, ignoreHooksCount, ignoreWhitespaces, manager, namespaceURI, objectModel, parameters, recorderStack, request, resolver, response, source, stack |
Fields inherited from interface org.apache.cocoon.transformation.Transformer |
ROLE |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSessionTransformer
public AbstractSessionTransformer()
getSessionManager
protected SessionManager getSessionManager()
throws ProcessingException
- Get the SessionManager component
- Throws:
ProcessingException
getContextManager
protected ContextManager getContextManager()
throws ProcessingException
- Get the ContextManager component
- Throws:
ProcessingException
getFormManager
protected FormManager getFormManager()
throws ProcessingException
- Get the FormManager component
- Throws:
ProcessingException
recycle
public void recycle()
- Recycle this component.
- Specified by:
recycle
in interface Recyclable
- Overrides:
recycle
in class AbstractSAXTransformer
getSession
public Session getSession()
throws ProcessingException
- Get the current session if available or return
null
.
- Returns:
- The Session object or null.
- Throws:
ProcessingException
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.