208209210211212213214215216217
Attribute attribute = iterator.next(); String name = attribute.getName(); String value = attribute.getValue(); if (name.equalsIgnoreCase("type")) { cond = joinAnd(cond, new ConditionZoneType(value)); } } return cond; }
936937938939940941942943944945946
for (int i = 0; i < attrs.getLength(); i++) { Node a = attrs.item(i); if ("type".equalsIgnoreCase(a.getNodeName())) { cond = joinAnd(cond, new ConditionZoneType(a.getNodeValue())); } } if (cond == null) { _log.error("Unrecognized <zone> condition in " + file);