Schnittstelle IValidator

Alle bekannten Implementierungsklassen:
ValidatorImpl

public interface IValidator
Interface defining the methods for XRechnung validation.
Autor:
Dr. Jan C. Thiele
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    runValidation(String invoicePath, String scenarioXmlPath)
    Method to run the validation.
    void
    saveAs(String filePath)
    Method to save the validation report to a file.
  • Methodendetails

    • runValidation

      String runValidation(String invoicePath, String scenarioXmlPath) throws IOException, Exception
      Method to run the validation.
      Parameter:
      invoicePath - path of invoice file
      scenarioXmlPath - path to validation scenario file
      Gibt zurück:
      string string with validation report
      Löst aus:
      IOException - read error
      Exception - unspecific error
    • saveAs

      void saveAs(String filePath) throws IOException
      Method to save the validation report to a file.
      Parameter:
      filePath - file path to save the report into
      Löst aus:
      IOException - write error