Added getter for validation context to get the ValidationIssues Vector for further processing in another application

This commit is contained in:
Dominik Röschke
2024-05-15 10:57:45 +02:00
parent 7f7adeab5a
commit 1ee64d87eb
2 changed files with 7 additions and 0 deletions

View File

@@ -516,5 +516,8 @@ public class XMLValidator extends Validator {
return failedRules;
}
public ValidationContext getValidationContext() {
return context;
}
}

View File

@@ -396,6 +396,10 @@ public class ZUGFeRDValidator {
disableNotices = true;
}
public ValidationContext getValidationContext() {
return context;
}
/**
* Read the file and calculate the SHA-1 checksum
*