Sdílet prostřednictvím


DefaultHandler.StartDocument Method

Definition

Receive notification of the beginning of the document.

[Android.Runtime.Register("startDocument", "()V", "GetStartDocumentHandler")]
public virtual void StartDocument ();
[<Android.Runtime.Register("startDocument", "()V", "GetStartDocumentHandler")>]
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.helpers.DefaultHandler.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