# Interface QValueConverterType<T>

Type Parameters:
  `T` - The type of converted values

All Known Implementing Classes:
  `QVCAbstract`, `QVCBigDecimal`, `QVCBigInteger`, `QVCBoolean`, `QVCDouble`, `QVCDuration`, `QVCEnum`, `QVCFloat`, `QVCInetAddress`, `QVCInteger`, `QVCLong`, `QVCOffsetDateTime`, `QVCPath`, `QVCPattern`, `QVCString`, `QVCURI`, `QVCUUID`

public interface QValueConverterType<T>

The type of value converters.

For all implementations, `forall x, x = convertFromString(convertToString(x))`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Class<T>`
  `convertedClass()`
  `T`
  `convertFromString(String text)`
  Convert the given string to a value of type `T`.
  `String`
  `convertToString(T value)`
  Convert a value of `T` to a string.
  `T`
  `exampleValue()`
  `String`
  `syntax()`

- ## Method Details

  - ### convertFromString

    T convertFromString(String text) throws QException
    Convert the given string to a value of type `T`.
    Parameters:
      `text` - The input string
    Returns:
      A value of `T`
    Throws:
      `QException` - On errors

  - ### convertToString

    String convertToString(T value) throws QException
    Convert a value of `T` to a string.
    Parameters:
      `value` - The value
    Returns:
      A string
    Throws:
      `QException` - On errors

  - ### exampleValue

    T exampleValue()
    Returns:
      An example value used for documentation

  - ### syntax

    String syntax()
    Returns:
      A description of the syntax for valid values of `T`

  - ### convertedClass

    Class<T> convertedClass()
    Returns:
      The type that will be converted