Share via


HandlerBase.SetDocumentLocator(ILocator) Method

Definition

Caution

deprecated

Receive a Locator object for document events.

[Android.Runtime.Register("setDocumentLocator", "(Lorg/xml/sax/Locator;)V", "GetSetDocumentLocator_Lorg_xml_sax_Locator_Handler")]
[System.Obsolete("deprecated")]
public virtual void SetDocumentLocator (Org.Xml.Sax.ILocator? locator);
[<Android.Runtime.Register("setDocumentLocator", "(Lorg/xml/sax/Locator;)V", "GetSetDocumentLocator_Lorg_xml_sax_Locator_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member SetDocumentLocator : Org.Xml.Sax.ILocator -> unit
override this.SetDocumentLocator : Org.Xml.Sax.ILocator -> unit

Parameters

locator
ILocator

A locator for all SAX document events.

Implements

Attributes

Remarks

Receive a Locator object for document events.

By default, do nothing. Application writers may override this method in a subclass if they wish to store the locator for use with other document events.

Java documentation for org.xml.sax.HandlerBase.setDocumentLocator(org.xml.sax.Locator).

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