Save This Page
Home » cocoon-2.1.11-src » org.apache.cocoon.webapps » session » transformation » [javadoc | source]
org.apache.cocoon.webapps.session.transformation
public class: SessionPreTransformer [javadoc | source]
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

All Implemented Interfaces:
    org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.configuration.Configurable, Transformer, XMLPipe, org.apache.avalon.excalibur.pool.Recyclable, XMLProducer

Direct Known Subclasses:
    SessionTransformer, SessionPostTransformer

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

This is the session pre transformer. It does all the getting and creation commands. This transformer should be the first in the pipeline.
Field Summary
public static final  String CREATECONTEXT_ELEMENT     
public static final  String CREATECONTEXT_NAME_ATTRIBUTE     
public static final  String CREATECONTEXT_SAVE_ATTRIBUTE     
public static final  String CREATECONTEXT_LOAD_ATTRIBUTE     
public static final  String GETXML_ELEMENT     
public static final  String GETXML_CONTEXT_ATTRIBUTE     
public static final  String GETXML_PATH_ATTRIBUTE     
public static final  String LOADCONTEXT_ELEMENT     
public static final  String LOADCONTEXT_CONTEXT_ATTRIBUTE     
public static final  String LOADCONTEXT_PATH_ATTRIBUTE     
public static final  String CONTEXT_URL_ELEMENT    The contexturl element. 
protected  int processingGetXML    Are we inside a getxml? 
Fields inherited from org.apache.cocoon.transformation.AbstractSAXTransformer:
EMPTY_ATTRIBUTES,  ignoreWhitespaces,  ignoreEmptyCharacters,  ignoreEventsCount,  ignoreHooksCount,  namespaceURI,  defaultNamespaceURI,  stack,  recorderStack,  request,  response,  context,  objectModel,  parameters,  source,  manager,  resolver,  emptyAttributes
Fields inherited from org.apache.cocoon.xml.AbstractXMLProducer:
EMPTY_CONTENT_HANDLER,  xmlConsumer,  contentHandler,  lexicalHandler
Constructor:
 public SessionPreTransformer() 
Method from org.apache.cocoon.webapps.session.transformation.SessionPreTransformer Summary:
endElement,   endTransformingElement,   setup,   startElement,   startTransformingElement
Methods from org.apache.cocoon.webapps.session.transformation.AbstractSessionTransformer:
getContextManager,   getFormManager,   getSession,   getSessionManager,   recycle
Methods from org.apache.cocoon.transformation.AbstractSAXTransformer:
addRecorder,   characters,   comment,   configure,   dispose,   endCDATA,   endDTD,   endDocument,   endElement,   endEntity,   endParametersRecording,   endParametersRecording,   endPrefixMapping,   endRecording,   endSAXRecording,   endSerializedXMLRecording,   endTextRecording,   endTransformingElement,   findPrefixMapping,   getMutableAttributes,   ignorableWhitespace,   processingInstruction,   recycle,   removeRecorder,   sendEndElementEvent,   sendEndElementEventNS,   sendEndPrefixMapping,   sendEvents,   sendParametersEvents,   sendStartElementEvent,   sendStartElementEvent,   sendStartElementEventNS,   sendStartElementEventNS,   sendStartPrefixMapping,   sendTextEvent,   service,   setDocumentLocator,   setup,   setupTransforming,   skippedEntity,   startCDATA,   startDTD,   startDocument,   startElement,   startEntity,   startParametersRecording,   startPrefixMapping,   startRecording,   startSAXRecording,   startSerializedXMLRecording,   startTextRecording,   startTransformingElement
Methods from org.apache.cocoon.xml.AbstractXMLPipe:
characters,   comment,   endCDATA,   endDTD,   endDocument,   endElement,   endEntity,   endPrefixMapping,   ignorableWhitespace,   processingInstruction,   setDocumentLocator,   skippedEntity,   startCDATA,   startDTD,   startDocument,   startElement,   startEntity,   startPrefixMapping
Methods from org.apache.cocoon.xml.AbstractXMLProducer:
recycle,   setConsumer,   setContentHandler,   setLexicalHandler
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.webapps.session.transformation.SessionPreTransformer Detail:
 public  void endElement(String uri,
    String name,
    String raw) throws SAXException 
      Deprecated!
    Process the SAX event. The namespace of the event is checked. If it is the defined namespace for this transformer the endTransformingElement() hook is called.
 public  void endTransformingElement(String uri,
    String name,
    String raw) throws IOException, SAXException, ProcessingException 
      Deprecated!
 public  void setup(SourceResolver resolver,
    Map objectModel,
    String src,
    Parameters par) throws IOException, SAXException, ProcessingException 
      Deprecated!
    Setup the next round. The instance variables are initialised.
 public  void startElement(String uri,
    String name,
    String raw,
    Attributes attr) throws SAXException 
      Deprecated!
    Process the SAX event. The namespace of the event is checked. If it is the defined namespace for this transformer the endTransformingElement() hook is called.
 public  void startTransformingElement(String uri,
    String name,
    String raw,
    Attributes attr) throws IOException, SAXException, ProcessingException 
      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.