code: @Override
      public Storingen getModel(InputStream stream) {
          SimpleDateFormat format = new SimpleDateFormat(NsApi.DATETIME_FORMAT);
          try {
              List<Storing> geplandeStoringen = new LinkedList<>();
              List<Storing> ongeplandeStoringen = new LinkedList<>();
  
              Xml xml = Xml.getXml(stream, "Storingen");
              if (xml.isPresent("Ongepland")) {
                  Xml ongeplandeStoringenXml = xml.child("Ongepland");
                  for (Xml storingXml : ongeplandeStoringenXml.children("Storing")) {
                      ongeplandeStoringen.add(getStoring(storingXml, format));
                  }
              }
              if (xml.isPresent("Gepland")) {
                  Xml geplandeStoringenXml = xml.child("Gepland");
                  for (Xml storingXml : geplandeStoringenXml.children("Storing")) {
                      geplandeStoringen.add(getStoring(storingXml, format));
                  }
              }
              return new Storingen(ongeplandeStoringen, geplandeStoringen);
          }
          catch (ParseException e) {
              logger.error("Error parsing stream to actuele vertrektijden", e);
              throw new NsApiException("Error parsing stream to actuele vertrektijden", e);
          }
      }
docs: {@inheritDoc}
  
  @see nl.pvanassen.ns.handle.Handle#getModel(java.io.InputStream)