{
info("Can't get announce time." + getCurrentFileName());
continue;
}
int val2 = val == null ? time : Integer.parseInt(val);
EventAction action = new AnnounceAction(val2);
actions.add(action);
}
else if (actionElement.getName().equalsIgnoreCase("if"))
{
String name = actionElement.attributeValue("name");
IfElseAction action = new IfElseAction(name, false);
action.setIfList(parseActions(actionElement, time));
actions.add(action);
lastIf = action;
}
else if (actionElement.getName().equalsIgnoreCase("ifnot"))
{
String name = actionElement.attributeValue("name");
IfElseAction action = new IfElseAction(name, true);
action.setIfList(parseActions(actionElement, time));
actions.add(action);
lastIf = action;
}
else if (actionElement.getName().equalsIgnoreCase("else"))
{