Class EnumTypeConverterFactory.EnumTypeConverter

  • All Implemented Interfaces:
    org.smooks.api.converter.TypeConverter<String,​Enum>, org.smooks.api.resource.config.Configurable
    Enclosing class:
    EnumTypeConverterFactory

    public static class EnumTypeConverterFactory.EnumTypeConverter
    extends Object
    implements org.smooks.api.converter.TypeConverter<String,​Enum>, org.smooks.api.resource.config.Configurable
    • Constructor Detail

      • EnumTypeConverter

        public EnumTypeConverter()
    • Method Detail

      • convert

        public Enum<?> convert​(String value)
        Specified by:
        convert in interface org.smooks.api.converter.TypeConverter<String,​Enum>
      • setConfiguration

        public void setConfiguration​(Properties properties)
                              throws org.smooks.api.SmooksConfigException
        Specified by:
        setConfiguration in interface org.smooks.api.resource.config.Configurable
        Throws:
        org.smooks.api.SmooksConfigException
      • getConfiguration

        public Properties getConfiguration()
        Specified by:
        getConfiguration in interface org.smooks.api.resource.config.Configurable