{
Element routeElement = routeIterator.next();
if (routeElement.getName().equalsIgnoreCase("route"))
{
int npcId = Integer.parseInt(routeElement.attributeValue("npcId"));
RouteType type = RouteType.valueOf(routeElement.attributeValue("type"));
long baseDelay = Long.parseLong(routeElement.attributeValue("delay"));
boolean isRunning = Boolean.parseBoolean(routeElement.attributeValue("isRunning"));
int walkRange = Integer.parseInt(routeElement.attributeValue("walkRange"));
WalkerRouteTemplate template = new WalkerRouteTemplate(npcId, baseDelay, type, isRunning, walkRange);
for (Iterator<Element> subIterator = routeElement.elementIterator(); subIterator.hasNext();)