Save This Page
Home » cocoon-2.1.11-src » org.apache.cocoon.slop » generation » [javadoc | source]
org.apache.cocoon.slop.generation
public class: SlopGenerator [javadoc | source]
java.lang.Object
   org.apache.avalon.framework.logger.AbstractLogEnabled
      org.apache.cocoon.xml.AbstractXMLProducer
         org.apache.cocoon.generation.AbstractGenerator
            org.apache.cocoon.generation.ServiceableGenerator
               org.apache.cocoon.slop.generation.SlopGenerator

All Implemented Interfaces:
    CacheableProcessingComponent, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.service.Serviceable, Generator, org.apache.avalon.excalibur.pool.Recyclable, XMLProducer

SlopGenerator: Simple Line-Oriented Parsing of text files. General code structure lifted from the Chaperon TextGenerator - thanks Stephan!
Fields inherited from org.apache.cocoon.generation.ServiceableGenerator:
manager
Fields inherited from org.apache.cocoon.generation.AbstractGenerator:
resolver,  objectModel,  parameters,  source
Fields inherited from org.apache.cocoon.xml.AbstractXMLProducer:
EMPTY_CONTENT_HANDLER,  xmlConsumer,  contentHandler,  lexicalHandler
Method from org.apache.cocoon.slop.generation.SlopGenerator Summary:
generate,   getKey,   getValidity,   recycle,   setup
Methods from org.apache.cocoon.generation.ServiceableGenerator:
dispose,   service
Methods from org.apache.cocoon.generation.AbstractGenerator:
recycle,   setup
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.slop.generation.SlopGenerator Detail:
 public  void generate() throws IOException, SAXException, ProcessingException 
    Generate XML data.
 public Serializable getKey() 
    Generate the unique key. This key must be unique inside the space of this component.
 public SourceValidity getValidity() 
    Generate the validity object.
 public  void recycle() 
    Recycle this component. All instance variables are set to null.
 public  void setup(SourceResolver resolver,
    Map objectmodel,
    String src,
    Parameters parameters) throws IOException, SAXException, ProcessingException 
    Set the SourceResolver, objectModel Map, the source and sitemap Parameters used to process the request.