Udostępnij za pośrednictwem


LocatorImpl Constructors

Definition

Overloads

LocatorImpl()

Zero-argument constructor.

LocatorImpl(ILocator)

Copy constructor.

LocatorImpl(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

LocatorImpl()

Zero-argument constructor.

[Android.Runtime.Register(".ctor", "()V", "")]
public LocatorImpl ();
Attributes

Remarks

Zero-argument constructor.

This will not normally be useful, since the main purpose of this class is to make a snapshot of an existing Locator.

Java documentation for org.xml.sax.helpers.LocatorImpl.LocatorImpl().

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

LocatorImpl(ILocator)

Copy constructor.

[Android.Runtime.Register(".ctor", "(Lorg/xml/sax/Locator;)V", "")]
public LocatorImpl (Org.Xml.Sax.ILocator? locator);
[<Android.Runtime.Register(".ctor", "(Lorg/xml/sax/Locator;)V", "")>]
new Org.Xml.Sax.Helpers.LocatorImpl : Org.Xml.Sax.ILocator -> Org.Xml.Sax.Helpers.LocatorImpl

Parameters

locator
ILocator

The locator to copy.

Attributes

Remarks

Copy constructor.

Create a persistent copy of the current state of a locator. When the original locator changes, this copy will still keep the original values (and it can be used outside the scope of DocumentHandler methods).

Java documentation for org.xml.sax.helpers.LocatorImpl.LocatorImpl(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

LocatorImpl(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected LocatorImpl (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Xml.Sax.Helpers.LocatorImpl : nativeint * Android.Runtime.JniHandleOwnership -> Org.Xml.Sax.Helpers.LocatorImpl

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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