Condividi tramite


Locator2Impl Constructors

Definition

Overloads

Locator2Impl()

Construct a new, empty Locator2Impl object.

Locator2Impl(ILocator)

Copy an existing Locator or Locator2 object.

Locator2Impl(IntPtr, JniHandleOwnership)

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

Locator2Impl()

Construct a new, empty Locator2Impl object.

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

Remarks

Construct a new, empty Locator2Impl object. 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.ext.Locator2Impl.Locator2Impl().

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

Locator2Impl(ILocator)

Copy an existing Locator or Locator2 object.

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

Parameters

locator
ILocator

The existing Locator object.

Attributes

Remarks

Copy an existing Locator or Locator2 object. If the object implements Locator2, values of the <em>encoding</em> and <em>version</em>strings are copied, otherwise they set to <em>null</em>.

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

Locator2Impl(IntPtr, JniHandleOwnership)

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

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

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