Class ConfigurableEnumerationItemParsing


  • public class ConfigurableEnumerationItemParsing
    extends AbstractParsing
    For parsing ConfigurableEnumerationItem options.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • ConfigurableEnumerationItemParsing

        public ConfigurableEnumerationItemParsing()
    • Method Detail

      • toString

        public static String toString​(AbstractOption option,
                                      Object object)
        Returns the Item as string.
        Parameters:
        option - the current option
        object - the Item object to convert
        Returns:
        the generated string
      • valueOf

        public static Object valueOf​(AbstractOption option,
                                     String str)
        Returns an Item object from the string.
        Parameters:
        option - the current option
        str - the string to convert to a Item
        Returns:
        the generated Item, null if failed to parse