다음을 통해 공유


IDocumentHandler Interface

Definition

Caution

This class is obsoleted in this android platform

Receive notification of general document events.

[Android.Runtime.Register("org/xml/sax/DocumentHandler", "", "Org.Xml.Sax.IDocumentHandlerInvoker")]
[System.Obsolete("This class is obsoleted in this android platform")]
public interface IDocumentHandler : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("org/xml/sax/DocumentHandler", "", "Org.Xml.Sax.IDocumentHandlerInvoker")>]
[<System.Obsolete("This class is obsoleted in this android platform")>]
type IDocumentHandler = interface
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Derived
Attributes
Implements

Remarks

Receive notification of general document events.

<blockquote> <em>This module, both source code and documentation, is in the Public Domain, and comes with <strong>NO WARRANTY</strong>.</em> See http://www.saxproject.org for further information. </blockquote>

This was the main event-handling interface for SAX1; in SAX2, it has been replaced by org.xml.sax.ContentHandler ContentHandler, which provides Namespace support and reporting of skipped entities. This interface is included in SAX2 only to support legacy SAX1 applications.

The order of events in this interface is very important, and mirrors the order of information in the document itself. For example, all of an element's content (character data, processing instructions, and/or subelements) will appear, in order, between the startElement event and the corresponding endElement event.

Application writers who do not want to implement the entire interface can derive a class from HandlerBase, which implements the default functionality; parser writers can instantiate HandlerBase to obtain a default handler. The application can find the location of any document event using the Locator interface supplied by the Parser through the setDocumentLocator method.

This member is deprecated. This interface has been replaced by the SAX2 org.xml.sax.ContentHandler ContentHandler interface, which includes Namespace support.

Added in SAX 1.0.

Java documentation for org.xml.sax.DocumentHandler.

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

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)
PeerReference

Returns a JniObjectReference of the wrapped Java object instance.

(Inherited from IJavaPeerable)

Methods

Characters(Char[], Int32, Int32)
Obsolete.

Receive notification of character data.

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)
EndDocument()
Obsolete.

Receive notification of the end of a document.

EndElement(String)
Obsolete.

Receive notification of the end of an element.

Finalized()

Called when the instance has been finalized.

(Inherited from IJavaPeerable)
IgnorableWhitespace(Char[], Int32, Int32)
Obsolete.

Receive notification of ignorable whitespace in element content.

ProcessingInstruction(String, String)
Obsolete.

Receive notification of a processing instruction.

SetDocumentLocator(ILocator)
Obsolete.

Receive an object for locating the origin of SAX document events.

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)
StartDocument()
Obsolete.

Receive notification of the beginning of a document.

StartElement(String, IAttributeList)
Obsolete.

Receive notification of the beginning of an element.

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