# Interface CLNValidatorFactoryType

All Known Implementing Classes:
  `CLN2Validators`

public interface CLNValidatorFactoryType
A factory of validators.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CLNValidatorType`
  `createValidator(CLNValidationRequest request)`
  Create a new validator.
  `int`
  `highestMinorVersion()`
  `int`
  `supportedMajorVersion()`

- ## Method Details

  - ### supportedMajorVersion

    int supportedMajorVersion()
    Returns:
      The major file format version supported by this factory

  - ### highestMinorVersion

    int highestMinorVersion()
    Returns:
      The highest known minor version for this writer factory

  - ### createValidator

    CLNValidatorType createValidator(CLNValidationRequest request)
    Create a new validator.
    Parameters:
      `request` - The validation request
    Returns:
      A new validator