Class SkinResourceReader
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.reading.AbstractReader
-
- org.apache.cocoon.reading.ServiceableReader
-
- org.ametys.plugins.skineditor.readers.SkinResourceReader
-
- All Implemented Interfaces:
Poolable
,Recyclable
,Component
,LogEnabled
,Serviceable
,Reader
,SitemapModelComponent
,SitemapOutputComponent
public class SkinResourceReader extends ServiceableReader
Reader for temporary skin resources
-
-
Field Summary
Fields Modifier and Type Field Description protected FileSource
_file
The file sourceprotected SourceResolver
_srcResolver
The source resolver-
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
Constructors Constructor Description SkinResourceReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
generate()
void
service(ServiceManager smanager)
void
setup(SourceResolver res, Map objModel, String src, Parameters par)
-
Methods inherited from class org.apache.cocoon.reading.AbstractReader
getLastModified, getMimeType, recycle, setOutputStream, shouldSetContentLength
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
_srcResolver
protected SourceResolver _srcResolver
The source resolver
-
_file
protected FileSource _file
The file source
-
-
Constructor Detail
-
SkinResourceReader
public SkinResourceReader()
-
-
Method Detail
-
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classServiceableReader
- Throws:
ServiceException
-
setup
public void setup(SourceResolver res, Map objModel, String src, Parameters par) throws ProcessingException, SAXException, IOException
- Specified by:
setup
in interfaceSitemapModelComponent
- Overrides:
setup
in classAbstractReader
- Throws:
ProcessingException
SAXException
IOException
-
generate
public void generate() throws IOException, SAXException, ProcessingException
-
-