org.apache.cocoon.generation
Class FileGeneratorFactory

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.cocoon.generation.FileGeneratorFactory
All Implemented Interfaces:
GeneratorFactory, LogEnabled, Serviceable

public class FileGeneratorFactory
extends AbstractLogEnabled
implements GeneratorFactory, Serviceable

Version:
$Id: FileGeneratorFactory.java 164222 2005-04-22 11:41:51Z cziegeler $
Author:
Pierpaolo Fumagalli (Apache Software Foundation), Carsten Ziegeler, Vadim Gritsenko
Cocoon.sitemap.component.documentation:
The FileGeneratorFactory is a class that reads XML from a source and generates SAX Events. The FileGeneratorFactory implements the CacheableProcessingComponent interface.
Cocoon.sitemap.component.documentation.caching:
Uses the last modification date of the xml document for validation
Cocoon.sitemap.component.label:
content
Cocoon.sitemap.component.logger:
sitemap.generator.file
Cocoon.sitemap.component.name:
file

Field Summary
protected  ServiceManager manager
          The service manager
 
Fields inherited from interface org.apache.cocoon.generation.GeneratorFactory
ROLE
 
Constructor Summary
FileGeneratorFactory()
           
 
Method Summary
 GeneratorFactory.Instance getInstance()
          Create an instance of the Generator
 void service(ServiceManager manager)
           
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

manager

protected ServiceManager manager
The service manager

Constructor Detail

FileGeneratorFactory

public FileGeneratorFactory()
Method Detail

service

public void service(ServiceManager manager)
             throws ServiceException
Specified by:
service in interface Serviceable
Throws:
ServiceException

getInstance

public GeneratorFactory.Instance getInstance()
Description copied from interface: GeneratorFactory
Create an instance of the Generator

Specified by:
getInstance in interface GeneratorFactory


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.