Interface TestAssertion


  • public interface TestAssertion
    A TestAssertion records the result of performing a validation test on a particular document property, or set of properties.
    Author:
    Carl Wilson
    • Method Detail

      • getOrdinal

        int getOrdinal()
        Returns:
        the ordinal for the instance
      • getRuleId

        RuleId getRuleId()
        Returns:
        the String id for the org.verapdf.pdfa.validation.Rule that this assertion refers to
      • getMessage

        String getMessage()
        Returns:
        any message that accompanies this assertion.
      • getLocationContext

        String getLocationContext()
        Returns:
        location context.
      • getErrorMessage

        String getErrorMessage()
        Returns:
        error message.
      • getLocation

        Location getLocation()
        Returns:
        the Location within the PDF document where this test was asserted.
      • getErrorArguments

        List<String> getErrorArguments()
        Returns:
        the list of error arguments