Package org.ametys.odf.schedulable
Class TolerantFileGenerator
- All Implemented Interfaces:
Poolable,Recyclable,Disposable,Component,LogEnabled,Serviceable,CacheableProcessingComponent,Generator,SitemapModelComponent,XMLProducer
FileGenerator which accepts a non existing or not readable file.
In that case, it generates an <file-not-readable/> tag.
-
Field Summary
Fields inherited from class org.apache.cocoon.generation.FileGenerator
inputSourceFields inherited from class org.apache.cocoon.generation.ServiceableGenerator
managerFields inherited from class org.apache.cocoon.generation.AbstractGenerator
objectModel, parameters, resolver, sourceFields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.ametys.core.cocoon.RuntimeFileGenerator
setupMethods inherited from class org.apache.cocoon.generation.FileGenerator
getKey, getValidity, recycleMethods inherited from class org.apache.cocoon.generation.ServiceableGenerator
dispose, serviceMethods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setConsumer, setContentHandler, setLexicalHandlerMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
-
Constructor Details
-
TolerantFileGenerator
public TolerantFileGenerator()
-
-
Method Details
-
generate
- Specified by:
generatein interfaceGenerator- Overrides:
generatein classFileGenerator- Throws:
IOExceptionSAXExceptionProcessingException
-