Deprecated API


Contents
Deprecated Methods
exe.questionCollection.animalInsertQuestion(int)
          Replaced by questionCollection.animalInsertQuestion(String). Since calls to addQuestion do not always add a question to this collection (due to the probability functions), a question's id might be different from its index in the Vector, causing this method to insert a different question than the programmer intended. Therefore, this method is unreliable when using the new probability functions and remains only to support old code. 
exe.questionCollection.insertQuestion(int)
          Replaced by questionCollection.insertQuestion(String). Since calls to addQuestion do not always add a question to this collection (due to the probability functions), a question's id might be different from its index in the Vector, causing this method to insert a different question than the programmer intended. Therefore, this method is unreliable when using the new probability functions and remains only to support old code. 
exe.mcQuestion.setAnswer(String)
          Replaced by mcQuestion.setAnswer(int). Since this method may fail to properly change the value of correctChoice, this method should not be used in new code. 
 

Deprecated Constructors
exe.XMLquestionCollection(PrintWriter, int, int)
          Replaced by #XMLquestionCollection(PrintWriter, int)). Due to changes in how XMLquestionCollection handles probabilistic questioning, tne nump parameter is no longer necessary and is simply ignored.