## Uses of Interface
org.apache.myfaces.trinidad.util.Enums.EnumParser

- Packages that use Enums.EnumParser
  Package | Description
  --- | ---
  org.apache.myfaces.trinidad.util |

- - ### Uses of Enums.EnumParser in org.apache.myfaces.trinidad.util

    Methods in org.apache.myfaces.trinidad.util that return Enums.EnumParser
    Modifier and Type | Method and Description
    --- | ---
    `static <E extends Enum> Enums.EnumParser<E>` | Enums.`displayNameEnumParser(Class<E> enumClass)` Returns an EnumParser that converts String values to enum constants by calling valueOfDisplayName() on the enum class.
    `static <E extends Enum> Enums.EnumParser<E>` | Enums.`methodNameEnumParser(Class<E> enumClass, String methodName)` Returns an EnumParser that uses reflection to invoke a method on an enum class to translate String values to enum constants.

    Methods in org.apache.myfaces.trinidad.util with parameters of type Enums.EnumParser
    Modifier and Type | Method and Description
    --- | ---
    `static <E extends Enum> Collection<E>` | Enums.`parseEnumRequestParameter(javax.faces.context.ExternalContext external, String paramName, Class<E> enumClass, Enums.EnumParser<E> enumParser, E defaultValue)` Parses a request parameter into a collection of enum constant values.
    `static <E extends Enum> Collection<E>` | Enums.`parseEnumValues(Collection<String> valuesToParse, Class<E> enumClass, Enums.EnumParser<E> enumParser, E defaultValue)` Parses a collection of strings into a corresponding collection of enum constant values.

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