Attributes2Impl 构造函数

定义

重载

Attributes2Impl()

构造一个新的空 Attributes2Impl 对象。

Attributes2Impl(IAttributes)

复制现有的 Attributes 或 Attributes2 对象。

Attributes2Impl(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

Attributes2Impl()

构造一个新的空 Attributes2Impl 对象。

[Android.Runtime.Register(".ctor", "()V", "")]
public Attributes2Impl ();
属性

注解

构造一个新的空 Attributes2Impl 对象。

适用于 . 的 org.xml.sax.ext.Attributes2Impl.Attributes2Impl()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

Attributes2Impl(IAttributes)

复制现有的 Attributes 或 Attributes2 对象。

[Android.Runtime.Register(".ctor", "(Lorg/xml/sax/Attributes;)V", "")]
public Attributes2Impl (Org.Xml.Sax.IAttributes? atts);
[<Android.Runtime.Register(".ctor", "(Lorg/xml/sax/Attributes;)V", "")>]
new Org.Xml.Sax.Ext.Attributes2Impl : Org.Xml.Sax.IAttributes -> Org.Xml.Sax.Ext.Attributes2Impl

参数

atts
IAttributes

现有的 Attributes 对象。

属性

注解

复制现有的 Attributes 或 Attributes2 对象。 如果对象实现 Attributes2,则复制每个属性的 <em>specified</em> 和 <em 声明/<em>> 标志的值。 否则,标志值默认假定未使用 DTD,除非有相反的证据(如类型为 CDATA 以外的属性,必须<>声明</em>)。

此构造函数在事件中 org.xml.sax.ContentHandler#startElement startElement 特别有用。

适用于 . 的 org.xml.sax.ext.Attributes2Impl.Attributes2Impl(org.xml.sax.Attributes)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

Attributes2Impl(IntPtr, JniHandleOwnership)

创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。

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

参数

javaReference
IntPtr

nativeint

IntPtr一个包含 Java 本机接口 (JNI) 对象引用。

transfer
JniHandleOwnership

指示 JniHandleOwnership如何处理 javaReference

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于