This project has retired. For details please refer to its
Attic page .
SessionPostTransformer (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.webapps.session.transformation
Class SessionPostTransformer
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
org.apache.cocoon.webapps.session.transformation.SessionPreTransformer
org.apache.cocoon.webapps.session.transformation.SessionPostTransformer
All Implemented Interfaces: Poolable , Recyclable , Disposable , Component , Configurable , LogEnabled , Serviceable , SitemapModelComponent , Transformer , XMLPipe , XMLProducer , XMLConsumer , ContentHandler , LexicalHandler
Direct Known Subclasses: SessionTransformer
Deprecated. This block is deprecated and will be removed in future versions.
public class SessionPostTransformer extends SessionPreTransformer
This is the session post transformer. It does all the setting and
destroying. Thus it should be the last transformer (before the xsl) in
the pipeline.
For performance and simplicity reasons this transformer inherits from
the SessionPreTransformer, although this is not needed (but then the
implementation of the SessionTransformer would be very unperformant).
Version:
CVS $Id: SessionPostTransformer.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler
Fields inherited from class org.apache.cocoon.webapps.session.transformation.SessionPreTransformer
CONTEXT_URL_ELEMENT , CREATECONTEXT_ELEMENT , CREATECONTEXT_LOAD_ATTRIBUTE , CREATECONTEXT_NAME_ATTRIBUTE , CREATECONTEXT_SAVE_ATTRIBUTE , GETXML_CONTEXT_ATTRIBUTE , GETXML_ELEMENT , GETXML_PATH_ATTRIBUTE , LOADCONTEXT_CONTEXT_ATTRIBUTE , LOADCONTEXT_ELEMENT , LOADCONTEXT_PATH_ATTRIBUTE , processingGetXML
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 interface org.apache.cocoon.transformation.Transformer
ROLE
Methods inherited from class org.apache.cocoon.transformation.AbstractSAXTransformer
addRecorder , characters , comment , configure , dispose , endCDATA , endDocument , endDTD , endEntity , endParametersRecording , endParametersRecording , endPrefixMapping , endRecording , endSAXRecording , endSerializedXMLRecording , endTextRecording , findPrefixMapping , getMutableAttributes , ignorableWhitespace , processingInstruction , removeRecorder , sendEndElementEvent , sendEndElementEventNS , sendEndPrefixMapping , sendEvents , sendParametersEvents , sendStartElementEvent , sendStartElementEvent , sendStartElementEventNS , sendStartElementEventNS , sendStartPrefixMapping , sendTextEvent , service , setDocumentLocator , skippedEntity , startCDATA , startDocument , startDTD , startEntity , startParametersRecording , startPrefixMapping , startRecording , startSAXRecording , startSerializedXMLRecording , startTextRecording
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
DELETECONTEXT_ELEMENT
public static final String DELETECONTEXT_ELEMENT
Deprecated.
See Also: Constant Field Values
DELETECONTEXT_NAME_ATTRIBUTE
public static final String DELETECONTEXT_NAME_ATTRIBUTE
Deprecated.
See Also: Constant Field Values
SETXML_ELEMENT
public static final String SETXML_ELEMENT
Deprecated.
See Also: Constant Field Values
SETXML_CONTEXT_ATTRIBUTE
public static final String SETXML_CONTEXT_ATTRIBUTE
Deprecated.
See Also: Constant Field Values
SETXML_PATH_ATTRIBUTE
public static final String SETXML_PATH_ATTRIBUTE
Deprecated.
See Also: Constant Field Values
APPENDXML_ELEMENT
public static final String APPENDXML_ELEMENT
Deprecated.
See Also: Constant Field Values
APPENDXML_CONTEXT_ATTRIBUTE
public static final String APPENDXML_CONTEXT_ATTRIBUTE
Deprecated.
See Also: Constant Field Values
APPENDXML_PATH_ATTRIBUTE
public static final String APPENDXML_PATH_ATTRIBUTE
Deprecated.
See Also: Constant Field Values
REMOVEXML_ELEMENT
public static final String REMOVEXML_ELEMENT
Deprecated.
See Also: Constant Field Values
REMOVEXML_CONTEXT_ATTRIBUTE
public static final String REMOVEXML_CONTEXT_ATTRIBUTE
Deprecated.
See Also: Constant Field Values
REMOVEXML_PATH_ATTRIBUTE
public static final String REMOVEXML_PATH_ATTRIBUTE
Deprecated.
See Also: Constant Field Values
MERGEXML_ELEMENT
public static final String MERGEXML_ELEMENT
Deprecated.
See Also: Constant Field Values
MERGEXML_CONTEXT_ATTRIBUTE
public static final String MERGEXML_CONTEXT_ATTRIBUTE
Deprecated.
See Also: Constant Field Values
MERGEXML_PATH_ATTRIBUTE
public static final String MERGEXML_PATH_ATTRIBUTE
Deprecated.
See Also: Constant Field Values
SAVECONTEXT_ELEMENT
public static final String SAVECONTEXT_ELEMENT
Deprecated.
See Also: Constant Field Values
SAVECONTEXT_CONTEXT_ATTRIBUTE
public static final String SAVECONTEXT_CONTEXT_ATTRIBUTE
Deprecated.
See Also: Constant Field Values
SAVECONTEXT_PATH_ATTRIBUTE
public static final String SAVECONTEXT_PATH_ATTRIBUTE
Deprecated.
See Also: Constant Field Values
INPUTXML_ELEMENT
public static final String INPUTXML_ELEMENT
Deprecated.
See Also: Constant Field Values
INPUTXML_CONTEXT_ATTRIBUTE
public static final String INPUTXML_CONTEXT_ATTRIBUTE
Deprecated.
See Also: Constant Field Values
INPUTXML_PATH_ATTRIBUTE
public static final String INPUTXML_PATH_ATTRIBUTE
Deprecated.
See Also: Constant Field Values
INPUTXML_NAME_ATTRIBUTE
public static final String INPUTXML_NAME_ATTRIBUTE
Deprecated.
See Also: Constant Field Values
INPUTXML_TYPE_ATTRIBUTE
public static final String INPUTXML_TYPE_ATTRIBUTE
Deprecated.
See Also: Constant Field Values
INPUTXML_VALIDATIONRESULT_ATTRIBUTE
public static final String INPUTXML_VALIDATIONRESULT_ATTRIBUTE
Deprecated.
See Also: Constant Field Values
FORM_ELEMENT
public static final String FORM_ELEMENT
Deprecated. The form element
See Also: Constant Field Values
FORM_ACTION_ELEMENT
public static final String FORM_ACTION_ELEMENT
Deprecated. The form action element
See Also: Constant Field Values
FORM_CONTENT_ELEMENT
public static final String FORM_CONTENT_ELEMENT
Deprecated. The form content element
See Also: Constant Field Values
FORM_VALIDATION_ELEMENT
public static final String FORM_VALIDATION_ELEMENT
Deprecated. The form validation rules
See Also: Constant Field Values
FORM_VALIDATION_SOURCE_ATTRIBUTE
public static final String FORM_VALIDATION_SOURCE_ATTRIBUTE
Deprecated.
See Also: Constant Field Values
FORM_VALIDATESET_ELEMENT
public static final String FORM_VALIDATESET_ELEMENT
Deprecated.
See Also: Constant Field Values
SessionPostTransformer
public SessionPostTransformer ()
Deprecated.
setupTransforming
public void setupTransforming ()
throws ProcessingException ,
SAXException ,
IOException
Deprecated. Description copied from class: AbstractSAXTransformer
Setup the transformation of an xml document.
This method is called just before the transformation (sending of sax events)
starts. It should be used to initialize setup parameter depending on the
object modell.
Overrides: setupTransforming
in class AbstractSAXTransformer
Throws:
ProcessingException
SAXException
IOException
startTransformingElement
public void startTransformingElement (String uri,
String name,
String raw,
Attributes attr)
throws ProcessingException ,
IOException ,
SAXException
Deprecated. This is the real implementation of the startElement event
for the transformer
The event is checked for a valid element and the corresponding command
is executed.
Overrides: startTransformingElement
in class SessionPreTransformer
Parameters: uri
- The namespace of the element.name
- The local name of the element.raw
- The qualified name of the element.attr
- The attributes of the element.
Throws:
ProcessingException
IOException
SAXException
endTransformingElement
public void endTransformingElement (String uri,
String name,
String raw)
throws ProcessingException ,
IOException ,
SAXException
Deprecated. Description copied from class: AbstractSAXTransformer
Start processing elements of our namespace.
This hook is invoked for each sax event with our namespace.
Overrides: endTransformingElement
in class SessionPreTransformer
Parameters: uri
- The namespace of the element.name
- The local name of the element.raw
- The qualified name of the element.
Throws:
ProcessingException
IOException
SAXException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.