package exercise.writer;
/**
* TextEntryContents houses the data read in from the TextEntry parser
* @author Grant K. Olds
* @since JDK1.2
*/
public class TextEntryContents extends QuestionContents
{
private String answer;
private String feedback;
TextEntryContents()
{
super();
}
/**
* Returns answer
* @return answer the answer String null
string otherwise.
*/
public String getAnswer()
{
return answer;
}
/**
* Returns feedback
* @return feedback the feedback string array null
string array otherwise.
*/
public String getFeedback()
{
return feedback;
}
/**
* Sets the feedback
* @param feedback the String that is read in for the feedback text.
*/
public void setFeedback ( String feedback )
{
this.feedback = feedback;
}
/**
* Sets the answer
* @param answer the String that is read in for the answer.
*/
public void setAnswer ( String answer )
{
this.answer = answer;
}
}