Package org.ametys.odf.rncp
Class AbstractRNCPAbstractProgramReader
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.reading.AbstractReader
org.apache.cocoon.reading.ServiceableReader
org.ametys.odf.rncp.AbstractRNCPAbstractProgramReader
- All Implemented Interfaces:
Poolable
,Recyclable
,Component
,LogEnabled
,Serviceable
,Reader
,SitemapModelComponent
,SitemapOutputComponent
- Direct Known Subclasses:
RNCPProgramReader
,RNCPSubProgramReader
Abstract reader for RNCP abstract program sheet.
-
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()
protected abstract String
getProgramId
(Request request) Get the program ID.protected abstract String
getSubProgramId
(Request request) Get the subProgram ID.void
service
(ServiceManager smanager) Methods inherited from class org.apache.cocoon.reading.AbstractReader
getLastModified, recycle, setOutputStream, setup, shouldSetContentLength
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
AbstractRNCPAbstractProgramReader
public AbstractRNCPAbstractProgramReader()
-
-
Method Details
-
getMimeType
- Specified by:
getMimeType
in interfaceSitemapOutputComponent
- Overrides:
getMimeType
in classAbstractReader
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classServiceableReader
- Throws:
ServiceException
-
generate
-
getSubProgramId
Get the subProgram ID.- Parameters:
request
- The request- Returns:
- The subprogram ID
-
getProgramId
Get the program ID.- Parameters:
request
- The request- Returns:
- The program ID
-