DefaultHandler Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Default base class for SAX2 event handlers.
[Android.Runtime.Register("org/xml/sax/helpers/DefaultHandler", DoNotGenerateAcw=true)]
public class DefaultHandler : Java.Lang.Object, IDisposable, Java.Interop.IJavaPeerable, Org.Xml.Sax.IContentHandler, Org.Xml.Sax.IDTDHandler, Org.Xml.Sax.IEntityResolver, Org.Xml.Sax.IErrorHandler
[<Android.Runtime.Register("org/xml/sax/helpers/DefaultHandler", DoNotGenerateAcw=true)>]
type DefaultHandler = class
inherit Object
interface IContentHandler
interface IJavaObject
interface IDisposable
interface IJavaPeerable
interface IDTDHandler
interface IEntityResolver
interface IErrorHandler
- Inheritance
- Derived
- Attributes
- Implements
Remarks
Default base class for SAX2 event 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 is available as a convenience base class for SAX2 applications: it provides default implementations for all of the callbacks in the four core SAX2 handler classes:
<ul> <li>org.xml.sax.EntityResolver EntityResolver
</li> <li>org.xml.sax.DTDHandler DTDHandler
</li> <li>org.xml.sax.ContentHandler ContentHandler
</li> <li>org.xml.sax.ErrorHandler ErrorHandler
</li> </ul>
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.
This class replaces the deprecated SAX1 org.xml.sax.HandlerBase HandlerBase
class.
Added in SAX 2.0.
Java documentation for org.xml.sax.helpers.DefaultHandler
.
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
DefaultHandler() | |
DefaultHandler(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
Properties
Class |
Returns the runtime class of this |
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) |
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() |
Receive notification of the end of the document. |
EndElement(String, String, String) |
Receive notification of the end of an element. |
EndPrefixMapping(String) |
Receive notification of the end of a Namespace mapping. |
Equals(Object) |
Indicates whether some other object is "equal to" this one. (Inherited from Object) |
Error(SAXParseException) |
Receive notification of a recoverable parser error. |
FatalError(SAXParseException) |
Report a fatal XML parsing error. |
GetHashCode() |
Returns a hash code value for the object. (Inherited from Object) |
IgnorableWhitespace(Char[], Int32, Int32) |
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) |
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) |
Receive notification of a processing instruction. |
ResolveEntity(String, String) |
Resolve an external entity. |
SetDocumentLocator(ILocator) |
Receive a Locator object for document events. |
SetHandle(IntPtr, JniHandleOwnership) |
Sets the Handle property. (Inherited from Object) |
SkippedEntity(String) |
Receive notification of a skipped entity. |
StartDocument() |
Receive notification of the beginning of the document. |
StartElement(String, String, String, IAttributes) |
Receive notification of the start of an element. |
StartPrefixMapping(String, String) |
Receive notification of the start of a Namespace mapping. |
ToArray<T>() | (Inherited from Object) |
ToString() |
Returns a string representation of the object. (Inherited from Object) |
UnparsedEntityDecl(String, String, String, String) |
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) |
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) |