}
}
private void extractWayPointsAndTracksFromNetworkLinks(List<JAXBElement<NetworkLinkType>> networkLinkTypes, ParserContext<KmlRoute> context) throws IOException {
for (JAXBElement<NetworkLinkType> networkLinkType : networkLinkTypes) {
Link link = networkLinkType.getValue().getLink();
if (link != null) {
String url = link.getHref();
context.parse(url);
}
List<JAXBElement<?>> rest = networkLinkType.getValue().getRest();
for (JAXBElement<?> r : rest) {