Package org.ametys.skinfactory.readers
Class SkinResourceReader
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.reading.AbstractReader
org.apache.cocoon.reading.ServiceableReader
org.ametys.skinfactory.readers.SkinResourceReader
- All Implemented Interfaces:
Poolable
,Recyclable
,Component
,LogEnabled
,Serviceable
,CacheableProcessingComponent
,Reader
,SitemapModelComponent
,SitemapOutputComponent
Reader for resource of the skin
-
Field Summary
Fields inherited from class org.apache.cocoon.reading.ServiceableReader
manager
Fields inherited from class org.apache.cocoon.reading.AbstractReader
objectModel, out, parameters, resolver, source
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generate()
getKey()
long
void
recycle()
void
service
(ServiceManager sManager) void
setup
(SourceResolver sResolver, Map objModel, String src, Parameters par) Methods inherited from class org.apache.cocoon.reading.AbstractReader
setOutputStream, shouldSetContentLength
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
SkinResourceReader
public SkinResourceReader()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classServiceableReader
- Throws:
ServiceException
-
setup
public void setup(SourceResolver sResolver, Map objModel, String src, Parameters par) throws ProcessingException, SAXException, IOException - Specified by:
setup
in interfaceSitemapModelComponent
- Overrides:
setup
in classAbstractReader
- Throws:
ProcessingException
SAXException
IOException
-
getKey
- Specified by:
getKey
in interfaceCacheableProcessingComponent
-
getValidity
- Specified by:
getValidity
in interfaceCacheableProcessingComponent
-
getLastModified
- Specified by:
getLastModified
in interfaceReader
- Overrides:
getLastModified
in classAbstractReader
-
getMimeType
- Specified by:
getMimeType
in interfaceSitemapOutputComponent
- Overrides:
getMimeType
in classAbstractReader
-
generate
- Specified by:
generate
in interfaceReader
- Throws:
IOException
SAXException
ProcessingException
-
recycle
- Specified by:
recycle
in interfaceRecyclable
- Overrides:
recycle
in classAbstractReader
-