private void createAnswerArea(Attributes attrs) {
		answerArea = new AnswerArea(answerAreaDef);
		// loop through all attributes, setting appropriate values
		for (int i = 0; i < attrs.getLength(); i++) {
			if (attrs.getQName(i).equals("id"))
				answerArea.setId(Integer.valueOf(attrs.getValue(i)));
			else if (attrs.getQName(i).equals("x"))
				answerArea.getStartPoint().setX(
						Integer.valueOf(attrs.getValue(i)));
			else if (attrs.getQName(i).equals("y"))
				answerArea.getStartPoint().setY(
						Integer.valueOf(attrs.getValue(i)));
			else if (attrs.getQName(i).equals("width"))
				answerArea.setWidth(Integer.valueOf(attrs.getValue(i)));
			else if (attrs.getQName(i).equals("height"))
				answerArea.setHeight(Integer.valueOf(attrs.getValue(i)));
			else if (attrs.getQName(i).equals("starttime"))
				answerArea.setStartTime(Integer.valueOf(attrs.getValue(i)));
			else if (attrs.getQName(i).equals("endtime"))
				answerArea.setEndTime(Integer.valueOf(attrs.getValue(i)));
		}
	}