Megosztás a következőn keresztül:


ILocator2 Interface

Definition

SAX2 extension to augment the entity information provided though a Locator.

[Android.Runtime.Register("org/xml/sax/ext/Locator2", "", "Org.Xml.Sax.Ext.ILocator2Invoker")]
public interface ILocator2 : IDisposable, Java.Interop.IJavaPeerable, Org.Xml.Sax.ILocator
[<Android.Runtime.Register("org/xml/sax/ext/Locator2", "", "Org.Xml.Sax.Ext.ILocator2Invoker")>]
type ILocator2 = interface
    interface ILocator
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Derived
Attributes
Implements

Remarks

SAX2 extension to augment the entity information provided though a Locator. If an implementation supports this extension, the Locator provided in org.xml.sax.ContentHandler#setDocumentLocator ContentHandler.setDocumentLocator() will implement this interface, and the <em>http://xml.org/sax/features/use-locator2</em> feature flag will have the value <em>true</em>.

<blockquote> <em>This module, both source code and documentation, is in the Public Domain, and comes with <strong>NO WARRANTY</strong>.</em> </blockquote>

XMLReader implementations are not required to support this information, and it is not part of core-only SAX2 distributions.

Added in SAX 2.0 (extensions 1.1 alpha).

Java documentation for org.xml.sax.ext.Locator2.

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.

Properties

ColumnNumber

Return the column number where the current document event ends.

(Inherited from ILocator)
Encoding

Returns the name of the character encoding for the entity.

Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
JniIdentityHashCode

Returns the value of java.lang.System.identityHashCode() for the wrapped instance.

(Inherited from IJavaPeerable)
JniManagedPeerState

State of the managed peer.

(Inherited from IJavaPeerable)
JniPeerMembers

Member access and invocation support.

(Inherited from IJavaPeerable)
LineNumber

Return the line number where the current document event ends.

(Inherited from ILocator)
PeerReference

Returns a JniObjectReference of the wrapped Java object instance.

(Inherited from IJavaPeerable)
PublicId

Return the public identifier for the current document event.

(Inherited from ILocator)
SystemId

Return the system identifier for the current document event.

(Inherited from ILocator)
XMLVersion

Returns the version of XML used for the entity.

Methods

Disposed()

Called when the instance has been disposed.

(Inherited from IJavaPeerable)
DisposeUnlessReferenced()

If there are no outstanding references to this instance, then calls Dispose(); otherwise, does nothing.

(Inherited from IJavaPeerable)
Finalized()

Called when the instance has been finalized.

(Inherited from IJavaPeerable)
SetJniIdentityHashCode(Int32)

Set the value returned by JniIdentityHashCode.

(Inherited from IJavaPeerable)
SetJniManagedPeerState(JniManagedPeerStates) (Inherited from IJavaPeerable)
SetPeerReference(JniObjectReference)

Set the value returned by PeerReference.

(Inherited from IJavaPeerable)
UnregisterFromRuntime()

Unregister this instance so that the runtime will not return it from future Java.Interop.JniRuntime+JniValueManager.PeekValue invocations.

(Inherited from IJavaPeerable)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to