Share via


ParserAdapter Constructors

Definition

Overloads

ParserAdapter()

Construct a new parser adapter.

ParserAdapter(IParser)

Construct a new parser adapter.

ParserAdapter(IntPtr, JniHandleOwnership)

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

ParserAdapter()

Construct a new parser adapter.

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

Exceptions

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

Remarks

Construct a new parser adapter.

Use the "org.xml.sax.parser" property to locate the embedded SAX1 driver.

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

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

ParserAdapter(IParser)

Construct a new parser adapter.

[Android.Runtime.Register(".ctor", "(Lorg/xml/sax/Parser;)V", "")]
public ParserAdapter (Org.Xml.Sax.IParser? parser);
[<Android.Runtime.Register(".ctor", "(Lorg/xml/sax/Parser;)V", "")>]
new Org.Xml.Sax.Helpers.ParserAdapter : Org.Xml.Sax.IParser -> Org.Xml.Sax.Helpers.ParserAdapter

Parameters

parser
IParser

The SAX1 parser to embed.

Attributes

Exceptions

If the parser parameter is null.

Remarks

Construct a new parser adapter.

Note that the embedded parser cannot be changed once the adapter is created; to embed a different parser, allocate a new ParserAdapter.

Java documentation for org.xml.sax.helpers.ParserAdapter.ParserAdapter(org.xml.sax.Parser).

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

ParserAdapter(IntPtr, JniHandleOwnership)

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

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

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