Beispiel #1
0
  public void run()
      throws XdsInternalException, MetadataValidationException, LoggerException, XdsException {

    try {
      s.run();

      a.run();

      cv.run();
    } catch (XdsInternalException e) {
      rel.add_error(
          MetadataSupport.XDSRegistryError,
          e.getMessage(),
          RegistryUtility.exception_details(e),
          null);
    } catch (MetadataException e) {
      rel.add_error(
          MetadataSupport.XDSRegistryError,
          e.getMessage(),
          RegistryUtility.exception_details(e),
          null);
    }

    pid.run();

    for (OMElement ele : m.getRegistryPackages()) validate_internal_classifications(ele);
    for (OMElement ele : m.getExtrinsicObjects()) validate_internal_classifications(ele);

    uid.run();

    rel.getRegistryErrorList(); // forces output of validation report
    // System.out.println("Metadata Validator Done");
  }