super.handleNode(node, element, uri, localName, parser);
TimerNode timerNode = (TimerNode) node;
String delay = element.getAttribute("delay");
String period = element.getAttribute("period");
if ((delay != null && delay.length() > 0) || (period != null && period.length() > 0)) {
Timer timer = timerNode.getTimer();
if (timer == null) {
timer = new Timer();
timerNode.setTimer(timer);
}
if (delay != null && delay.length() != 0 ) {
timer.setDelay(delay);
}
if (period != null && period.length() != 0 ) {
timer.setPeriod(period);
}
}
}