Class CANameMatchConverter

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

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

    • CANameMatchConverter

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

    • convertFromString

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

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

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

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

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