Class SurveyGenerator
- All Implemented Interfaces:
Poolable
,Recyclable
,Disposable
,Component
,LogEnabled
,Serviceable
,Generator
,SitemapModelComponent
,XMLProducer
SAX surveys
-
Field Summary
Modifier and TypeFieldDescriptionprotected CurrentUserProvider
The current user provider.protected SurveyAnswerDao
The current user provider.protected CurrentUserProvider
The user provider.Fields inherited from class org.ametys.plugins.survey.generators.SurveysGenerator
_resolver, _siteManager, _surveyDAO
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
-
Method Summary
Methods inherited from class org.ametys.plugins.survey.generators.SurveysGenerator
getSurveyRootNode, saxBranches, toSAX, toSAX, toSAX, toSAXPicture
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
-
_currentUserProvider
The current user provider. -
_surveyAnswerDao
The current user provider. -
_userProvider
The user provider.
-
-
Constructor Details
-
SurveyGenerator
public SurveyGenerator()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classSurveysGenerator
- Throws:
ServiceException
-
generate
- Specified by:
generate
in interfaceGenerator
- Overrides:
generate
in classSurveysGenerator
- Throws:
IOException
SAXException
ProcessingException
-