ParserAdapter Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
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
.NET for Android .NET for Android API 35 ja .NET for Android .NET for Android API 34
Tuote | Versiot |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |
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
.NET for Android .NET for Android API 35 ja .NET for Android .NET for Android API 34
Tuote | Versiot |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |
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
- 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
.NET for Android .NET for Android API 35 ja .NET for Android .NET for Android API 34
Tuote | Versiot |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |