Class CADescriptionMatchConverter

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

public final class CADescriptionMatchConverter extends Object implements com.io7m.quarrel.core.QValueConverterType<CADescriptionMatch>
A value converter for name match expressions.
  • Constructor Details

    • CADescriptionMatchConverter

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

    • convertFromString

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

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

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

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

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