public class EditSectionVisitor<X extends ContentBuilder> extends ContentVisitor<X>
ContentVisitor that adds edit buttons to each of the shown sections.ContentVisitor.NoAnswerANSWER_COL, complete_viz, has_question_viz, QUESTION_COL, response, sess| Constructor and Description |
|---|
EditSectionVisitor(X cb,
SessionService sess,
ResponseTransitionProvider<?,?> provider,
ResponseManager.Response<?> response) |
| Modifier and Type | Method and Description |
|---|---|
<C extends ContentBuilder> |
visitSection(C builder,
java.util.Map<java.lang.String,java.lang.String> errors,
SectionManager.Section s) |
getContext, getLogger, visitPage, visitPage, visitQuestion, visitQuestion, visitSectionpublic EditSectionVisitor(X cb, SessionService sess, ResponseTransitionProvider<?,?> provider, ResponseManager.Response<?> response)
public <C extends ContentBuilder> C visitSection(C builder, java.util.Map<java.lang.String,java.lang.String> errors, SectionManager.Section s) throws java.lang.Exception
visitSection in class ContentVisitor<X extends ContentBuilder>java.lang.Exception