Package org.apache.tapestry5.internal

## Class DefaultValueLabelProvider

- java.lang.Object
- - org.apache.tapestry5.internal.DefaultValueLabelProvider

- All Implemented Interfaces:
    `ValueLabelProvider<java.lang.Object>`

      public class DefaultValueLabelProvider
      extends java.lang.Object
      implements ValueLabelProvider<java.lang.Object>

  Uses the `TypeCoercer` to convert an arbitrary value to a string.
  Since:
    5.4

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DefaultValueLabelProvider​(TypeCoercer coercer)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `getLabel​(java.lang.Object value)` | Gets label from the value.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultValueLabelProvider

          public DefaultValueLabelProvider​(TypeCoercer coercer)

  - ### Method Detail

    - #### getLabel

          public java.lang.String getLabel​(java.lang.Object value)

      Description copied from interface: `ValueLabelProvider`
      Gets label from the value. The label is used as user-presentable label for a value.
      Specified by:
        `getLabel` in interface `ValueLabelProvider<java.lang.Object>`
      Parameters:
        `value` - the value to be label provided from
      Returns: