{
Element actionElement = (Element) iterator.next();
if (actionElement.getName().equalsIgnoreCase("start"))
{
String name = actionElement.attributeValue("name");
StartStopAction startStopAction = new StartStopAction(name, true);
actions.add(startStopAction);
}
else if (actionElement.getName().equalsIgnoreCase("stop"))
{
String name = actionElement.attributeValue("name");
StartStopAction startStopAction = new StartStopAction(name, false);
actions.add(startStopAction);
}
else if (actionElement.getName().equalsIgnoreCase("spawn"))
{
String name = actionElement.attributeValue("name");