Lines Matching refs:locale
35 * includes a locale to indicate the natural language. Thus, a text attribute
57 private Locale locale;
60 * Constructs a TextAttribute with the specified string and locale.
63 * @param locale Natural language of the text string. null
64 * is interpreted to mean the default locale for as returned
70 protected TextSyntax(String value, Locale locale) {
72 this.locale = verify (locale);
82 private static Locale verify(Locale locale) {
83 if (locale == null) {
86 return locale;
98 * Returns this text attribute's text string's natural language (locale).
99 * @return the locale
102 return locale;
111 return value.hashCode() ^ locale.hashCode();
126 * This text attribute's locale and <CODE>object</CODE>'s locale are
139 this.locale.equals (((TextSyntax) object).locale));