Package org.ametys.plugins.odfweb.cdmfr
Class WebExportCDMfrHelper
- java.lang.Object
-
- org.ametys.odf.cdmfr.ExportCDMfrHelper
-
- org.ametys.plugins.odfweb.cdmfr.WebExportCDMfrHelper
-
- All Implemented Interfaces:
Component
,Contextualizable
,Serviceable
public class WebExportCDMfrHelper extends ExportCDMfrHelper
Web implementation of CDM-fr export
-
-
Field Summary
Fields Modifier and Type Field Description private RenderingContextHandler
_renderingContextHandler
-
Fields inherited from class org.ametys.odf.cdmfr.ExportCDMfrHelper
_context, _exportCMDfrManager, _resolver, REQUEST_PARAM_EXPORT_FOR_AMETYS, REQUEST_PARAM_VALID_LABEL, ROLE
-
-
Constructor Summary
Constructors Constructor Description WebExportCDMfrHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
_doExport(ContentHandler contentHandler, Program program)
Do exportprotected void
_prepareRequest(Program program)
Prepare the request before exportvoid
service(ServiceManager smanager)
-
Methods inherited from class org.ametys.odf.cdmfr.ExportCDMfrHelper
_getProgram, _getRequest, _prepareResponse, contextualize, export
-
-
-
-
Field Detail
-
_renderingContextHandler
private RenderingContextHandler _renderingContextHandler
-
-
Constructor Detail
-
WebExportCDMfrHelper
public WebExportCDMfrHelper()
-
-
Method Detail
-
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classExportCDMfrHelper
- Throws:
ServiceException
-
_prepareRequest
protected void _prepareRequest(Program program)
Description copied from class:ExportCDMfrHelper
Prepare the request before export- Overrides:
_prepareRequest
in classExportCDMfrHelper
- Parameters:
program
- the program to export
-
_doExport
protected void _doExport(ContentHandler contentHandler, Program program) throws SAXException
Description copied from class:ExportCDMfrHelper
Do export- Overrides:
_doExport
in classExportCDMfrHelper
- Parameters:
contentHandler
- The content handler to sax intoprogram
- the porogram to export- Throws:
SAXException
- If an error occurs during sax
-
-