# Interface CLNParserFactoryType

All Known Implementing Classes:
  `CLN2Parsers`

public interface CLNParserFactoryType
A factory of parsers.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CLNParserType`
  `createParser(CLNParseRequest request)`
  Create a new parser for the given request.
  `int`
  `highestMinorVersion()`
  `int`
  `supportedMajorVersion()`

- ## Method Details

  - ### supportedMajorVersion

    int supportedMajorVersion()
    Returns:
      The major file format version that this parser supports

  - ### highestMinorVersion

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

  - ### createParser

    CLNParserType createParser(CLNParseRequest request) throws CLNException
    Create a new parser for the given request.
    Parameters:
      `request` - A parse request
    Returns:
      A new parser
    Throws:
      `CLNException` - On errors