Share via


XMLReaderAdapter Constructors

Definition

Overloads

XMLReaderAdapter()

Create a new adapter.

XMLReaderAdapter(IXMLReader)

Create a new adapter.

XMLReaderAdapter(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

XMLReaderAdapter()

Create a new adapter.

[Android.Runtime.Register(".ctor", "()V", "")]
public XMLReaderAdapter ();
Attributes

Exceptions

If the embedded driver cannot be instantiated or if the org.xml.sax.driver property is not specified.

Remarks

Create a new adapter.

Use the "org.xml.sax.driver" property to locate the SAX2 driver to embed.

Java documentation for org.xml.sax.helpers.XMLReaderAdapter.XMLReaderAdapter().

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

XMLReaderAdapter(IXMLReader)

Create a new adapter.

[Android.Runtime.Register(".ctor", "(Lorg/xml/sax/XMLReader;)V", "")]
public XMLReaderAdapter (Org.Xml.Sax.IXMLReader? xmlReader);
[<Android.Runtime.Register(".ctor", "(Lorg/xml/sax/XMLReader;)V", "")>]
new Org.Xml.Sax.Helpers.XMLReaderAdapter : Org.Xml.Sax.IXMLReader -> Org.Xml.Sax.Helpers.XMLReaderAdapter

Parameters

xmlReader
IXMLReader

The SAX2 XMLReader to wrap.

Attributes

Exceptions

If the argument is null.

Remarks

Create a new adapter.

Create a new adapter, wrapped around a SAX2 XMLReader. The adapter will make the XMLReader act like a SAX1 Parser.

Java documentation for org.xml.sax.helpers.XMLReaderAdapter.XMLReaderAdapter(org.xml.sax.XMLReader).

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

XMLReaderAdapter(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected XMLReaderAdapter (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Xml.Sax.Helpers.XMLReaderAdapter : nativeint * Android.Runtime.JniHandleOwnership -> Org.Xml.Sax.Helpers.XMLReaderAdapter

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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