public class QuestionRulesGenerator extends ServiceableGenerator
SurveyQuestion| Modifier and Type | Field and Description |
|---|---|
protected 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 AmetysObjectResolver _resolver
public QuestionRulesGenerator()
public void service(ServiceManager serviceManager) throws ServiceException
service in interface Serviceableservice in class ServiceableGeneratorServiceExceptionpublic void generate() throws IOException, SAXException, ProcessingException
public void saxRules(SurveyQuestion question, int number) throws SAXException
question - the questionnumber - the question numberSAXException - if an error occurs while saxingpublic void saxRule(SurveyPage surveyPage) throws SAXException
surveyPage - the survey pageSAXException - if an error occurs while saxing