Annotation Interface I18n


@Retention(RUNTIME) @Target({TYPE,METHOD,FIELD}) public @interface I18n
Identify an I18n resource associated with the annotated element. The value() holds the name of the resource as it stored in the LocalStrings.properties and can be used by the runtime to generate appropriate localized meta-data.
Author:
Jerome Dochez
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns the string identify the i18n resource from the resource bundle associated with the class containing the annotation.
  • Element Details

    • value

      String value
      Returns the string identify the i18n resource from the resource bundle associated with the class containing the annotation.
      Returns:
      a string identifying the resource in the bundle