XMLReaderAdapter.SetLocale(Locale) Method

Definition

Set the locale for error reporting.

C#
[Android.Runtime.Register("setLocale", "(Ljava/util/Locale;)V", "GetSetLocale_Ljava_util_Locale_Handler")]
public virtual void SetLocale(Java.Util.Locale? locale);

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

Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35

See also