org.apache.myfaces.trinidad.util

## Interface Enums.EnumParser<E extends Enum>

- Enclosing class:
    Enums

      public static interface Enums.EnumParser<E extends Enum>

  Single abstract method interface for parsing enum constant values from strings.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `E` | `parse(String value)` Returns the enum constant associated with the specified string.

- - ### Method Detail

    - #### parse

          E parse(String value)
                               throws IllegalArgumentException

      Returns the enum constant associated with the specified string.
      Parameters:
        `value` - the string value to parse
      Throws:
        `IllegalArgumentException` - if the value does not correspond to some enum constant.

Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.