Package | Description |
---|---|
com.wiris.quizzes.api | |
com.wiris.quizzes.api.ui |
Modifier and Type | Method and Description |
---|---|
Question |
Question.getStudentQuestion()
Creates a new Question only with the data needed to properly render the
student's answer page.
|
Question |
Quizzes.newQuestion()
Creates a new empty
Question object. |
Question |
QuizzesBuilder.newQuestion()
Deprecated.
Creates a new empty
Question object. |
Question |
Quizzes.readQuestion(java.lang.String xml)
Creates a new
Question object reading its contents from XML. |
Question |
QuizzesBuilder.readQuestion(java.lang.String xml)
Deprecated.
Creates a new
Question object reading its contents from XML. |
Modifier and Type | Method and Description |
---|---|
double |
QuestionInstance.getAnswerGrade(int correctAnswer,
int studentAnswer,
Question question)
Deprecated.
Use
QuestionInstance.getGrade(Slot, AuthorAnswer) instead. |
double |
QuestionInstance.getCompoundAnswerGrade(int correctAnswer,
int studentAnswer,
int index,
Question question)
Deprecated.
|
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.newFeaturedAssertionsRequest(Question question)
Create a QuestionRequest that deduces the possible assertions for the correct answers of the question.
|
QuestionRequest |
Quizzes.newFeaturedSyntaxAssertionsRequest(Question question)
Create a QuestionRequest that deduces the possible syntax assertions for the correct answers of the question.
|
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.
|
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 . |
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. |
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 |
---|---|
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 |
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.
|
AuthoringField |
QuizzesComponentBuilder.newAuthoringField(Question question,
Slot slot,
AuthorAnswer authorAnswer)
Create a
QuizzesField that allows the user to define the grading criteria of a given AuthorAnswer . |
AuxiliaryCasField |
QuizzesUIBuilder.newAuxiliarCasField(Question question,
QuestionInstance instance,
int index)
Deprecated.
Create a CalcMe app component related to the index-th user answer.
|
EmbeddedAnswersEditor |
QuizzesComponentBuilder.newEmbeddedAnswersEditor(Question question,
QuestionInstance instance)
Create an
EmbeddedAnswersEditor object. |
EmbeddedAnswersEditor |
QuizzesUIBuilder.newEmbeddedAnswersEditor(Question question,
QuestionInstance instance)
Deprecated.
Create an EmbeddedAnswersEditor object.
|
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.