private BxZone parseZoneNode(Element zoneE) { BxZone zone = new BxZone(); if (!getChildren("Classification", zoneE).isEmpty()) { zone.setLabel(parseClassification(getChildren("Classification", zoneE).get(0))); } if (!getChildren("ZoneCorners", zoneE).isEmpty()) { zone.setBounds(parseElementContainingVertexes(getChildren("ZoneCorners", zoneE).get(0))); } List<Element> e = getChildren("Line", zoneE); for (Element lin : e) { BxLine li = parseLineElement(lin); zone.addLine(li); } return zone; }