Top Description Methods
javax.portlet.annotations

public @Interface LocaleString

extends Annotation
Annotations
@Retention:RUNTIME
@Target:ANNOTATION_TYPE
Imports
java.lang.annotation.Retention, .Target

This annotation represents locale-specific strings used within composite portlet configuration annotations to represent information describing the portlet. It cannot be used as a stand-alone portlet annotation.
Since
3.0

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The locale
locale
()

The locale for the locale-specific string.
public String

Returns:

The parameter value
value
()

The parameter value
Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

localeback to summary
public String locale()

The locale for the locale-specific string.

The locale is specified as a language tag as defined in IETF BCP 47, "Tags for Identifying Languages".

Returns:String

The locale

See Also
java.util.Locale, forLanguageTag, IETF BCP 47
valueback to summary
public String value()

The parameter value
Returns:String

The parameter value