# Class CLN1Validators

java.lang.Object
com.io7m.calino.vanilla.CLN1Validators

All Implemented Interfaces:
  `CLNValidatorFactoryType`

public final class CLN1Validators extends Object implements CLNValidatorFactoryType
A factory of version 1 validators.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CLN1Validators()`
  A factory of version 1 validators.
  `CLN1Validators(Locale locale)`
  A factory of version 1 validators.

- ## Method Summary

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

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### CLN1Validators

    public CLN1Validators()
    A factory of version 1 validators.

  - ### CLN1Validators

    public CLN1Validators(Locale locale)
    A factory of version 1 validators.
    Parameters:
      `locale` - The locale for error messages

- ## Method Details

  - ### supportedMajorVersion

    public int supportedMajorVersion()
    Specified by:
      `supportedMajorVersion` in interface `CLNValidatorFactoryType`
    Returns:
      The major file format version supported by this factory

  - ### highestMinorVersion

    public int highestMinorVersion()
    Specified by:
      `highestMinorVersion` in interface `CLNValidatorFactoryType`
    Returns:
      The highest known minor version for this writer factory

  - ### createValidator

    public CLNValidatorType createValidator(CLNValidationRequest request)
    Description copied from interface: `CLNValidatorFactoryType`
    Create a new validator.
    Specified by:
      `createValidator` in interface `CLNValidatorFactoryType`
    Parameters:
      `request` - The validation request
    Returns:
      A new validator