Org.Xml.Sax.Helpers.XMLReaderFactory Class
Factory for creating an XML reader.

See Also: XMLReaderFactory Members

Syntax

[Android.Runtime.Register("org/xml/sax/helpers/XMLReaderFactory", DoNotGenerateAcw=true)]
public sealed class XMLReaderFactory : Java.Lang.Object

Remarks

Factory for creating an XML reader.

This module, both source code and documentation, is in the Public Domain, and comes with NO WARRANTY. See for further information.

java Example

 try {
   XMLReader myReader = XMLReaderFactory.createXMLReader();
 } catch (SAXException e) {
   System.err.println(e.getMessage());
 }
 

This class contains static methods for creating an XML reader from an explicit class name, or based on runtime defaults:

Note to Distributions bundled with parsers: You should modify the implementation of the no-arguments createXMLReader to handle cases where the external configuration mechanisms aren't set up. That method should do its best to return a parser when one is in the class path, even when nothing bound its class name to org.xml.sax.driver so those configuration mechanisms would see it.

[Android Documentation]

Requirements

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