Annotation Type LocalizableResource.GenerateKeys

Enclosing interface:
LocalizableResource

@Retention(RUNTIME) @Target(TYPE) public static @interface LocalizableResource.GenerateKeys
Requests that the keys for messages be generated automatically. If the annotation is supplied with no value, the default is to use an MD5 hash of the text and meaning. If this annotation is not supplied, the keys will be the unqualified method names.

The value is either the name of an inner class of KeyGenerator or the fully-qualified class name of some implementation of KeyGenerator.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • value

      String value
      Default:
      "com.google.gwt.i18n.server.keygen.MD5KeyGenerator"