Class CAItemIDMatchConverter

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

public final class CAItemIDMatchConverter extends Object implements com.io7m.quarrel.core.QValueConverterType<CAItemIDMatch>
A value converter for item ID match expressions.
  • Constructor Details

    • CAItemIDMatchConverter

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

    • convertFromString

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

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

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

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

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