Lines Matching refs:locale
34 * includes a locale to indicate the natural language. Thus, a text attribute
60 private Locale locale;
63 * Constructs a {@code TextAttribute} with the specified string and locale.
66 * @param locale natural language of the text string. {@code null} is
67 * interpreted to mean the default locale for as returned by
71 protected TextSyntax(String value, Locale locale) {
73 this.locale = verify (locale);
83 private static Locale verify(Locale locale) {
84 if (locale == null) {
87 return locale;
100 * Returns this text attribute's text string's natural language (locale).
102 * @return the locale
105 return locale;
114 return value.hashCode() ^ locale.hashCode();
125 * <li>This text attribute's locale and {@code object}'s locale are equal.
136 this.locale.equals (((TextSyntax) object).locale));