Interface NodePathValidator

    • Method Detail

      • validate

        @Deprecated
        @Nullable
        default @Nullable Collection<ValidationMessage> validate​(@NotNull
                                                                 @NotNull String nodePath)
        Deprecated.
        Called for each node being found in a package. Empty node elements (in DocView files) are not included as they are only used for ordering purposes.
        Parameters:
        nodePath - the absolute node path
        Returns:
        validation messages or null
      • validate

        @Nullable
        default @Nullable Collection<ValidationMessage> validate​(@NotNull
                                                                 @NotNull NodeContext nodeContext)
        Called for each node being found in a package. Empty node elements (in DocView files) are not included as they are only used for ordering purposes.
        Parameters:
        nodeContext - the information about the node context
        Returns:
        validation messages or null