Taal

XmlReaderPullParser.Require(XmlPullParserNode, String, String) Method

Definition

Checks that the current event type, namespace URI, and name equal the supplied values. Throws if any value differs.

public void Require(Org.XmlPull.V1.XmlPullParserNode type, string? namespaceURI, string? name);
abstract member Require : Org.XmlPull.V1.XmlPullParserNode * string * string -> unit
override this.Require : Org.XmlPull.V1.XmlPullParserNode * string * string -> unit

Parameters

type
XmlPullParserNode

The expected event type.

namespaceURI
String

The expected namespace URI. A null value must match the current namespace.

name
String

The expected local name. A null value must match the current name.

Implements

Applies to