Share via


HandlerBase.StartDocument Method

Definition

Caution

deprecated

Receive notification of the beginning of the document.

[Android.Runtime.Register("startDocument", "()V", "GetStartDocumentHandler")]
[System.Obsolete("deprecated")]
public virtual void StartDocument ();
[<Android.Runtime.Register("startDocument", "()V", "GetStartDocumentHandler")>]
[<System.Obsolete("deprecated")>]
abstract member StartDocument : unit -> unit
override this.StartDocument : unit -> unit

Implements

Attributes

Exceptions

Any SAX exception, possibly wrapping another exception.

Remarks

Receive notification of the beginning of the document.

By default, do nothing. Application writers may override this method in a subclass to take specific actions at the beginning of a document (such as allocating the root node of a tree or creating an output file).

Java documentation for org.xml.sax.HandlerBase.startDocument().

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

See also