Org.Xml.Sax.IXMLReader
Interface for reading an XML document using callbacks.

See Also: IXMLReader Members

Syntax

[Android.Runtime.Register("org/xml/sax/XMLReader", "", "Org.Xml.Sax.IXMLReaderInvoker")]
public interface IXMLReader : Android.Runtime.IJavaObject, IDisposable

Remarks

Interface for reading an XML document using callbacks.

This module, both source code and documentation, is in the Public Domain, and comes with NO WARRANTY. See for further information.
  1. it adds a standard way to query and set features and properties; and
  2. it adds Namespace support, which is required for many higher-level XML standards.

Note: despite its name, this interface does not extend the standard Java Java.IO.Reader interface, because reading XML is a fundamentally different activity than reading character data.

XMLReader is the interface that an XML parser's SAX2 driver must implement. This interface allows an application to set and query features and properties in the parser, to register event handlers for document processing, and to initiate a document parse.

All SAX interfaces are assumed to be synchronous: the IXMLReader.Parse(string) methods must not return until parsing is complete, and readers must wait for an event-handler callback to return before reporting the next event.

This interface replaces the (now deprecated) SAX 1.0 Org.Xml.Sax.IParser interface. The XMLReader interface contains two important enhancements over the old Parser interface (as well as some minor ones):

There are adapters available to convert a SAX1 Parser to a SAX2 XMLReader and vice-versa.

See Also

[Android Documentation]

Requirements

Namespace: Org.Xml.Sax
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1