public class QuestionRulesGenerator extends ServiceableGenerator
SurveyQuestion| Modifier and Type | Field and Description |
|---|---|
protected org.ametys.plugins.repository.AmetysObjectResolver |
_resolver
The Ametys object resolver
|
managerobjectModel, parameters, resolver, sourcecontentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer| Constructor and Description |
|---|
QuestionRulesGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
generate() |
void |
saxRule(SurveyPage surveyPage)
SAX page rule
|
void |
saxRules(SurveyQuestion question,
int number)
SAX rules
|
void |
service(ServiceManager serviceManager) |
disposerecycle, setupsetConsumer, setContentHandler, setLexicalHandlerenableLogging, getLogger, setupLogger, setupLogger, setupLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetConsumerprotected org.ametys.plugins.repository.AmetysObjectResolver _resolver
public void service(ServiceManager serviceManager) throws ServiceException
service in interface Serviceableservice in class ServiceableGeneratorServiceExceptionpublic void generate()
throws java.io.IOException,
org.xml.sax.SAXException,
ProcessingException
java.io.IOExceptionorg.xml.sax.SAXExceptionProcessingExceptionpublic void saxRules(SurveyQuestion question, int number) throws org.xml.sax.SAXException
question - the questionnumber - the question numberorg.xml.sax.SAXException - if an error occurs while saxingpublic void saxRule(SurveyPage surveyPage) throws org.xml.sax.SAXException
surveyPage - the survey pageorg.xml.sax.SAXException - if an error occurs while saxingCopyright © 2010 Anyware Services. All Rights Reserved.