Interface Validator<T>

Type Parameters:
T - The type of object being validated (e.g., ScormManifest, AiccCourse)
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Validator<T>
Functional interface for validators that check module manifests for issues. Validators should be stateless and return immutable ValidationResult objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    validate(T target)
    Validates the target object and returns any issues found.
  • Method Details

    • validate

      ValidationResult validate(T target)
      Validates the target object and returns any issues found.
      Parameters:
      target - The object to validate
      Returns:
      ValidationResult containing any errors or warnings