Interface DocumentValidator

  • All Known Implementing Classes:
    JsonSchemaValidator
    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 DocumentValidator
    Created by carlg on 5/16/2017.
    • Method Detail

      • validate

        void validate​(DocumentNode node,
                      ValidationResults results)
        Given a node, check whether it's valid, and if there are any issues, add them to the results collection