This project has retired. For details please refer to its
        
        Attic page .
      
SessionAttributeGenerator (Cocoon API 2.1.12-dev [March 20 2012])
 
 
org.apache.cocoon.generation 
 
java.lang.Object 
  org.apache.avalon.framework.logger.AbstractLogEnabled 
      org.apache.cocoon.xml.AbstractXMLProducer 
          org.apache.cocoon.generation.AbstractGenerator 
              org.apache.cocoon.generation.SessionAttributeGenerator 
 
All Implemented Interfaces:  Poolable , Recyclable , Component , LogEnabled , Generator , SitemapModelComponent , XMLProducer  
public class SessionAttributeGenerator  extends AbstractGenerator   
Version: $Id: SessionAttributeGenerator.html 1304258 2012-03-23 10:09:27Z ilgrosso $ 
Author: Cédric Damioli , Sylvain Wallez See Also: ReadDOMSessionTransformerWriteDOMSessionTransformer 
 
Fields inherited from interface org.apache.cocoon.generation.Generator   
ROLE  
 
Methods inherited from class java.lang.Object   
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait  
 
ATTR_NAME 
public static final String  ATTR_NAME  
See Also: Constant Field Values  
 
ELEMENT_NAME 
public static final String  ELEMENT_NAME  
See Also: Constant Field Values  
 
SessionAttributeGenerator 
public SessionAttributeGenerator () 
 
setup 
public void setup (SourceResolver  resolver,
                  Map  objectModel,
                  String  src,
                  Parameters  par)
           throws ProcessingException ,
                  SAXException ,
                  IOException  
Setup the file generator :try to retrieve the session attribute given as sitemap parameter
Specified by: setup SitemapModelComponent Overrides: setup AbstractGenerator  
Throws: 
ProcessingException SAXException IOException  
  
generate 
public void generate ()
              throws IOException ,
                     SAXException ,
                     ProcessingException  
Generate XML data
Throws: 
IOException SAXException ProcessingException