Class CALocationMatchConverter

java.lang.Object
com.io7m.cardant.shell.internal.converters.CALocationMatchConverter
All Implemented Interfaces:
com.io7m.quarrel.core.QValueConverterType<CALocationMatchType>

public final class CALocationMatchConverter extends Object implements com.io7m.quarrel.core.QValueConverterType<CALocationMatchType>
A value converter for location match expressions.
  • Constructor Details

    • CALocationMatchConverter

      public CALocationMatchConverter(CAStrings inStrings)
      Construct a converter.
      Parameters:
      inStrings - The string resources
  • Method Details

    • convertFromString

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

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

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

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

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