Package | Description |
---|---|
com.wiris.quizzes.api | |
com.wiris.quizzes.api.ui |
Modifier and Type | Method and Description |
---|---|
QuestionInstance |
QuestionInstance.getStudentQuestionInstance()
Creates a new
QuestionInstance only with the data needed to properly render
the student's answer page. |
QuestionInstance |
QuizzesBuilder.newQuestionInstance()
Deprecated.
Use
QuizzesBuilder.newQuestionInstance(Question) instead. |
QuestionInstance |
Quizzes.newQuestionInstance(Question q)
Creates a new
QuestionInstance object from the given
Question . |
QuestionInstance |
QuizzesBuilder.newQuestionInstance(Question q)
Deprecated.
Creates a new
QuestionInstance object from the given
Question . |
QuestionInstance |
QuizzesBuilder.readQuestionInstance(java.lang.String xml)
Deprecated.
Creates a new
QuestionInstance object reading its contents from XML. |
QuestionInstance |
Quizzes.readQuestionInstance(java.lang.String xml,
Question q)
Creates a new
QuestionInstance object reading its contents from XML. |
Modifier and Type | Method and Description |
---|---|
QuestionRequest |
QuizzesBuilder.newEvalMultipleAnswersRequest(java.lang.String[] correctAnswers,
java.lang.String[] studentAnswers,
Question question,
QuestionInstance instance)
Deprecated.
Like
QuizzesBuilder.newEvalRequest(java.lang.String, java.lang.String, com.wiris.quizzes.api.Question, com.wiris.quizzes.api.QuestionInstance) but this method allows to compare several student's
answers with several correct answers. |
QuestionRequest |
QuizzesBuilder.newEvalRequest(java.lang.String correctAnswer,
java.lang.String studentAnswer,
Question question,
QuestionInstance instance)
Deprecated.
Creates a new QuestionRequest object suitable to send to the quizzes
service in order to evaluate a student answer against a correct answer.
|
QuestionRequest |
Quizzes.newFeedbackRequest(java.lang.String html,
QuestionInstance instance)
Create a QuestionRequest that evaluates the student answer(s) and gets the variables to be used in the feedback.
|
QuestionRequest |
QuizzesBuilder.newFeedbackRequest(java.lang.String html,
Question question,
QuestionInstance instance)
Deprecated.
Create a QuestionRequest that evaluates the student answer(s) and gets the variables to be used in the feedback.
|
QuestionRequest |
Quizzes.newGradeRequest(QuestionInstance instance)
Creates a new
QuestionRequest object suitable to send to the quizzes
service in order to evaluate a set of student answers against a
set of correct answers using a defined criteria. |
QuestionRequest |
Quizzes.newVariablesRequest(java.lang.String html,
QuestionInstance instance)
Creates a new
QuestionRequest object suitable to send to the quizzes
service in order to get variable values generated from an algorithm. |
QuestionRequest |
QuizzesBuilder.newVariablesRequest(java.lang.String html,
Question question,
QuestionInstance instance)
Deprecated.
Creates a new
QuestionRequest object suitable to send to the quizzes
service in order to get variable values generated from an algorithm. |
QuestionRequest |
Quizzes.newVariablesRequestWithQuestionData(java.lang.String html,
QuestionInstance instance)
Creates a new
QuestionRequest object suitable to send to the quizzes
service in order to get variable values generated from an algorithm, but, unlike the
function Quizzes.newVariablesRequest(String, QuestionInstance) , this function automatically
includes in the QuestionRequest object the variable requests for the placeholders
that are present in any of the Question data fields, such as correct answers
and initial contents. |
void |
QuestionInstance.updateFromStudentQuestionInstance(QuestionInstance qi)
Saves the content in given question instance that may be changed by the
student.
|
Modifier and Type | Method and Description |
---|---|
AnswerFeedback |
QuizzesComponentBuilder.newAnswerFeedback(QuestionInstance instance,
Slot slot,
AuthorAnswer authorAnswer)
Create a
QuizzesComponent with the feedback for an student's
response based on the instance assertion checks. |
AnswerFeedback |
QuizzesUIBuilder.newAnswerFeedback(Question question,
QuestionInstance instance,
int correctAnswer,
int studentAnswer)
Deprecated.
Create a
QuizzesComponent with the feedback for the index-th student
response based on the instance assertion checks. |
AnswerField |
QuizzesComponentBuilder.newAnswerField(QuestionInstance instance,
Slot slot)
Create a
QuizzesField for the student answer input field corresponding to a given Slot . |
AnswerField |
QuizzesUIBuilder.newAnswerField(Question question,
QuestionInstance instance,
int index)
Deprecated.
Create a
QuizzesField for the index-th student answer input field. |
AuthoringField |
QuizzesUIBuilder.newAuthoringField(Question question,
QuestionInstance instance,
int correctAnswer,
int userAnswer)
Deprecated.
Create a QuizzesField for the index-th correct answer input field.
|
AuxiliaryCasField |
QuizzesUIBuilder.newAuxiliarCasField(Question question,
QuestionInstance instance,
int index)
Deprecated.
Create a CalcMe app component related to the index-th user answer.
|
AuxiliaryCasField |
QuizzesComponentBuilder.newAuxiliaryCasField(QuestionInstance instance,
Slot slot)
Create a CalcMe app component related to the student answer corresponding to a given
Slot . |
EmbeddedAnswersEditor |
QuizzesComponentBuilder.newEmbeddedAnswersEditor(Question question,
QuestionInstance instance)
Create an
EmbeddedAnswersEditor object. |
EmbeddedAnswersEditor |
QuizzesUIBuilder.newEmbeddedAnswersEditor(Question question,
QuestionInstance instance)
Deprecated.
Create an EmbeddedAnswersEditor object.
|
java.lang.Object |
MathViewer.renderCorrectAnswer(QuestionInstance instance,
Slot slot,
AuthorAnswer authorAnswer)
Render the value of the correct answer contained in the given author answer,
using the syntax of the given slot.
|
void |
QuizzesComponentBuilder.replaceFields(Question question,
QuestionInstance instance,
java.lang.Object element)
Filters HTML replacing each placeholder element by the Wiris Quizzes
JavaScript component.
|
void |
QuizzesUIBuilder.replaceFields(Question question,
QuestionInstance instance,
java.lang.Object element)
Deprecated.
Filters HTML replacing each placeholder element by the Wiris Quizzes
JavaScript component.
|
Copyright © 2021 Maths for More S.L. All Rights Reserved.