} else if (elementName.equals("reaction")
&& list.getSBaseListType().equals(
ListOf.Type.listOfReactions)) {
Reaction reaction = (Reaction) newContextObject;
model.addReaction(reaction);
reaction.initDefaults();
return reaction;
} else if (elementName.equals("event")
&& list.getSBaseListType().equals(
ListOf.Type.listOfEvents)