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

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

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

    Methods in org.apache.myfaces.trinidad.util that return Enums.StringProducer
    Modifier and Type | Method and Description
    --- | ---
    `static <E extends Enum> Enums.StringProducer<E>` | Enums.`displayNameStringProducer(Class<E> enumClass)` Returns a StringProducer that converts enum constants to String values by calling displayName() on each enum constant.
    `static <E extends Enum> Enums.StringProducer<E>` | Enums.`methodNameStringProducer(Class<E> enumClass, String methodName)` Returns a StringProducer uses reflection to produce Strings from enum constant values.

    Methods in org.apache.myfaces.trinidad.util with parameters of type Enums.StringProducer
    Modifier and Type | Method and Description
    --- | ---
    `static <E extends Enum> Map<String,E>` | Enums.`createStringKeyMap(Class<E> enumClass, Enums.StringProducer<E> keyProducer)` Returns a map of String -> enum constant for all constants in the provided enum class.
    `static <E extends Enum> String` | Enums.`patternOf(Class<E> enumClass, Enums.StringProducer<E> patternProducer)` Returns a string suitable for use in a regular expression pattern that matches all values of the specified enum.

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