| org.apache.cocoon.webapps.session.transformation.AbstractSessionTransformer org.apache.cocoon.webapps.session.transformation.SessionPreTransformer
All known Subclasses: org.apache.cocoon.webapps.session.transformation.SessionPostTransformer,
SessionPreTransformer | public class SessionPreTransformer extends AbstractSessionTransformer (Code) | | This is the session pre transformer. It does all the getting
and creation commands. This transformer should be the first in the
pipeline.
author: Carsten Ziegeler version: CVS $Id: SessionPreTransformer.java 433543 2006-08-22 06:22:54Z crossley $ |
Method Summary | |
public void | endElement(String uri, String name, String raw) Process the SAX event.
The namespace of the event is checked. | public void | endTransformingElement(String uri, String name, String raw) | public void | setup(SourceResolver resolver, Map objectModel, String src, Parameters par) Setup the next round. | public void | startElement(String uri, String name, String raw, Attributes attr) Process the SAX event.
The namespace of the event is checked. | public void | startTransformingElement(String uri, String name, String raw, Attributes attr) 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. |
CONTEXT_URL_ELEMENT | final public static String CONTEXT_URL_ELEMENT(Code) | | The contexturl element.
|
CREATECONTEXT_ELEMENT | final public static String CREATECONTEXT_ELEMENT(Code) | | |
CREATECONTEXT_LOAD_ATTRIBUTE | final public static String CREATECONTEXT_LOAD_ATTRIBUTE(Code) | | |
CREATECONTEXT_NAME_ATTRIBUTE | final public static String CREATECONTEXT_NAME_ATTRIBUTE(Code) | | |
CREATECONTEXT_SAVE_ATTRIBUTE | final public static String CREATECONTEXT_SAVE_ATTRIBUTE(Code) | | |
GETXML_CONTEXT_ATTRIBUTE | final public static String GETXML_CONTEXT_ATTRIBUTE(Code) | | |
GETXML_ELEMENT | final public static String GETXML_ELEMENT(Code) | | |
GETXML_PATH_ATTRIBUTE | final public static String GETXML_PATH_ATTRIBUTE(Code) | | |
LOADCONTEXT_CONTEXT_ATTRIBUTE | final public static String LOADCONTEXT_CONTEXT_ATTRIBUTE(Code) | | |
LOADCONTEXT_ELEMENT | final public static String LOADCONTEXT_ELEMENT(Code) | | |
LOADCONTEXT_PATH_ATTRIBUTE | final public static String LOADCONTEXT_PATH_ATTRIBUTE(Code) | | |
processingGetXML | protected int processingGetXML(Code) | | Are we inside a getxml?
|
SessionPreTransformer | public SessionPreTransformer()(Code) | | |
endElement | public void endElement(String uri, String name, String raw) throws SAXException(Code) | | 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.
|
setup | public void setup(SourceResolver resolver, Map objectModel, String src, Parameters par) throws ProcessingException, SAXException, IOException(Code) | | Setup the next round.
The instance variables are initialised.
Parameters: resolver - The current SourceResolver Parameters: objectModel - The objectModel of the environment. Parameters: src - The value of the src attribute in the sitemap. Parameters: par - The parameters from the sitemap. |
startElement | public void startElement(String uri, String name, String raw, Attributes attr) throws SAXException(Code) | | 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.
|
|
|