Class NoninclusiveTermsValidator

  • All Implemented Interfaces:
    Validator

    public final class NoninclusiveTermsValidator
    extends AbstractValidator

    Validates that all shape names and values do not contain non-inclusive terms.

    • Method Detail

      • validate

        public java.util.List<ValidationEvent> validate​(Model model)
        Runs a full text scan on a given model and stores the resulting TextOccurrences objects. Namespaces are checked against a global set per model.
        Parameters:
        model - Model to validate.
        Returns:
        a list of ValidationEvents found by the implementer of getValidationEvents per the TextOccurrences provided by this traversal.