Class FormEntriesGenerator
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.generation.AbstractGenerator
org.apache.cocoon.generation.ServiceableGenerator
org.ametys.plugins.forms.generators.FormEntryInformationGenerator
org.ametys.plugins.forms.generators.FormEntriesGenerator
- All Implemented Interfaces:
Poolable
,Recyclable
,Disposable
,Component
,LogEnabled
,Serviceable
,Generator
,SitemapModelComponent
,XMLProducer
Generate the entry of a form for xls export
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected I18nUtils
I18n Utilsprotected RightManager
The right managerprotected WorkflowProvider
The workflow providerFields inherited from class org.ametys.plugins.forms.generators.FormEntryInformationGenerator
_currentUserProvider, _resolver, _userManager
Fields inherited from class org.apache.cocoon.generation.ServiceableGenerator
manager
Fields inherited from class org.apache.cocoon.generation.AbstractGenerator
objectModel, parameters, resolver, source
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
_addAdditionalEntryAttributes
(FormEntry entry, AttributesImpl attrs) Add additional entry attributesprotected void
_checkRights
(FormEntry entry) Check right before saxing entryvoid
generate()
void
service
(ServiceManager smanager) Methods inherited from class org.ametys.plugins.forms.generators.FormEntryInformationGenerator
_saxEntry
Methods inherited from class org.apache.cocoon.generation.ServiceableGenerator
dispose
Methods inherited from class org.apache.cocoon.generation.AbstractGenerator
recycle, setup
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setConsumer, setContentHandler, setLexicalHandler
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
-
Field Details
-
_workflowProvider
The workflow provider -
_i18nUtils
I18n Utils -
_rightManager
The right manager
-
-
Constructor Details
-
FormEntriesGenerator
public FormEntriesGenerator()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classFormEntryInformationGenerator
- Throws:
ServiceException
-
generate
- Specified by:
generate
in interfaceGenerator
- Overrides:
generate
in classFormEntryInformationGenerator
- Throws:
IOException
SAXException
ProcessingException
-
_checkRights
Description copied from class:FormEntryInformationGenerator
Check right before saxing entry- Overrides:
_checkRights
in classFormEntryInformationGenerator
- Parameters:
entry
- the entry
-
_addAdditionalEntryAttributes
Description copied from class:FormEntryInformationGenerator
Add additional entry attributes- Overrides:
_addAdditionalEntryAttributes
in classFormEntryInformationGenerator
- Parameters:
entry
- the entryattrs
- the attributes
-