Share via


XMLReaderAdapter.SetLocale(Locale) Method

Definition

Set the locale for error reporting.

[Android.Runtime.Register("setLocale", "(Ljava/util/Locale;)V", "GetSetLocale_Ljava_util_Locale_Handler")]
public virtual void SetLocale (Java.Util.Locale? locale);
[<Android.Runtime.Register("setLocale", "(Ljava/util/Locale;)V", "GetSetLocale_Ljava_util_Locale_Handler")>]
abstract member SetLocale : Java.Util.Locale -> unit
override this.SetLocale : Java.Util.Locale -> unit

Parameters

locale
Locale

the locale for error reporting.

Implements

Attributes

Exceptions

Thrown unless overridden.

Remarks

Set the locale for error reporting.

This is not supported in SAX2, and will always throw an exception.

Java documentation for org.xml.sax.helpers.XMLReaderAdapter.setLocale(java.util.Locale).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also