Class CALocationIdConverter

java.lang.Object
com.io7m.cardant.shell.internal.CALocationIdConverter
All Implemented Interfaces:
com.io7m.quarrel.core.QValueConverterType<CALocationID>

public final class CALocationIdConverter extends Object implements com.io7m.quarrel.core.QValueConverterType<CALocationID>
A value converter for location IDs.
  • Constructor Details

    • CALocationIdConverter

      public CALocationIdConverter()
      Construct a converter.
  • Method Details

    • convertFromString

      public CALocationID convertFromString(String text)
      Specified by:
      convertFromString in interface com.io7m.quarrel.core.QValueConverterType<CALocationID>
    • convertToString

      public String convertToString(CALocationID value)
      Specified by:
      convertToString in interface com.io7m.quarrel.core.QValueConverterType<CALocationID>
    • exampleValue

      public CALocationID exampleValue()
      Specified by:
      exampleValue in interface com.io7m.quarrel.core.QValueConverterType<CALocationID>
    • syntax

      public String syntax()
      Specified by:
      syntax in interface com.io7m.quarrel.core.QValueConverterType<CALocationID>
    • convertedClass

      public Class<CALocationID> convertedClass()
      Specified by:
      convertedClass in interface com.io7m.quarrel.core.QValueConverterType<CALocationID>