HandlerBase Class

Definition

Caution

This class is obsoleted in this android platform

Default base class for handlers.

[Android.Runtime.Register("org/xml/sax/HandlerBase", DoNotGenerateAcw=true)]
[System.Obsolete("This class is obsoleted in this android platform")]
public class HandlerBase : Java.Lang.Object, IDisposable, Java.Interop.IJavaPeerable, Org.Xml.Sax.IDocumentHandler, Org.Xml.Sax.IDTDHandler, Org.Xml.Sax.IEntityResolver, Org.Xml.Sax.IErrorHandler
[<Android.Runtime.Register("org/xml/sax/HandlerBase", DoNotGenerateAcw=true)>]
[<System.Obsolete("This class is obsoleted in this android platform")>]
type HandlerBase = class
    inherit Object
    interface IDocumentHandler
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
    interface IDTDHandler
    interface IEntityResolver
    interface IErrorHandler
Inheritance
HandlerBase
Attributes
Implements

Remarks

Default base class for handlers.

<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 class implements the default behaviour for four SAX1 interfaces: EntityResolver, DTDHandler, DocumentHandler, and ErrorHandler. It is now obsolete, but is included in SAX2 to support legacy SAX1 applications. SAX2 applications should use the org.xml.sax.helpers.DefaultHandler DefaultHandler class instead.

Application writers can extend this class when they need to implement only part of an interface; parser writers can instantiate this class to provide default handlers when the application has not supplied its own.

Note that the use of this class is optional.

This member is deprecated. This class works with the deprecated org.xml.sax.DocumentHandler DocumentHandler interface. It has been replaced by the SAX2 org.xml.sax.helpers.DefaultHandler DefaultHandler class.

Added in SAX 1.0.

Java documentation for org.xml.sax.HandlerBase.

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.

Constructors

HandlerBase()
HandlerBase(IntPtr, JniHandleOwnership)

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

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
PeerReference (Inherited from Object)
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Methods

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

Receive notification of character data inside an element.

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
EndDocument()
Obsolete.

Receive notification of the end of the document.

EndElement(String)
Obsolete.

Receive notification of the end of an element.

Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
Error(SAXParseException)
Obsolete.

Receive notification of a recoverable parser error.

FatalError(SAXParseException)
Obsolete.

Report a fatal XML parsing error.

GetHashCode()

Returns a hash code value for the object.

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

Receive notification of ignorable whitespace in element content.

JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
NotationDecl(String, String, String)
Obsolete.

Receive notification of a notation declaration.

Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
ProcessingInstruction(String, String)
Obsolete.

Receive notification of a processing instruction.

ResolveEntity(String, String)
Obsolete.

Resolve an external entity.

SetDocumentLocator(ILocator)
Obsolete.

Receive a Locator object for document events.

SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
StartDocument()
Obsolete.

Receive notification of the beginning of the document.

StartElement(String, IAttributeList)
Obsolete.

Receive notification of the start of an element.

ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnparsedEntityDecl(String, String, String, String)
Obsolete.

Receive notification of an unparsed entity declaration.

UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Warning(SAXParseException)
Obsolete.

Receive notification of a parser warning.

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to