List<AirshipDock.AirshipPlatform> platformList = new ArrayList<>(2);
for (Iterator<?> platformIterator = dockElement.elementIterator("platform"); platformIterator.hasNext();)
{
Element platformElement = (Element) platformIterator.next();
SceneMovie movie = SceneMovie.valueOf(platformElement.attributeValue("movie"));
BoatPoint oustLoc = BoatPoint.parse(platformElement.element("oust"));
BoatPoint spawnLoc = BoatPoint.parse(platformElement.element("spawn"));
List<BoatPoint> arrivalList = parsePoints(platformElement.element("arrival"));
List<BoatPoint> departList = parsePoints(platformElement.element("depart"));
AirshipDock.AirshipPlatform platform = new AirshipDock.AirshipPlatform(movie, oustLoc, spawnLoc, arrivalList, departList);
platformList.add(platform);
}