Share via


TransformerException.Locator Property

Definition

Method getLocator retrieves an instance of a SourceLocator object that specifies where an error occurred. -or- Method setLocator sets an instance of a SourceLocator object that specifies where an error occurred.

public virtual Javax.Xml.Transform.ISourceLocator? Locator { [Android.Runtime.Register("getLocator", "()Ljavax/xml/transform/SourceLocator;", "GetGetLocatorHandler")] get; [Android.Runtime.Register("setLocator", "(Ljavax/xml/transform/SourceLocator;)V", "GetSetLocator_Ljavax_xml_transform_SourceLocator_Handler")] set; }
[<get: Android.Runtime.Register("getLocator", "()Ljavax/xml/transform/SourceLocator;", "GetGetLocatorHandler")>]
[<set: Android.Runtime.Register("setLocator", "(Ljavax/xml/transform/SourceLocator;)V", "GetSetLocator_Ljavax_xml_transform_SourceLocator_Handler")>]
member this.Locator : Javax.Xml.Transform.ISourceLocator with get, set

Property Value

A SourceLocator object, or null if none was specified.

Attributes

Remarks

Property getter documentation:

Method getLocator retrieves an instance of a SourceLocator object that specifies where an error occurred.

Java documentation for javax.xml.transform.TransformerException.getLocator().

Property setter documentation:

Method setLocator sets an instance of a SourceLocator object that specifies where an error occurred.

Java documentation for javax.xml.transform.TransformerException.setLocator(javax.xml.transform.SourceLocator).

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