语言

Attributes2Impl 构造函数

定义

重载

名称 说明
Attributes2Impl()

构造一个新的空 Attributes2Impl 对象。

Attributes2Impl(IAttributes)

复制现有的 Attributes 或 Attributes2 对象。

Attributes2Impl(IntPtr, JniHandleOwnership)

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

Attributes2Impl()

构造一个新的空 Attributes2Impl 对象。

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

注解

构造一个新的空 Attributes2Impl 对象。

Java文档org.xml.sax.ext.Attributes2Impl.Attributes2Impl()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

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,则复制每个属性的 指定 和 声明 标志的值。 否则,标志值默认假定未使用 DTD,除非有相反的证据(如类型为 CDATA 以外的属性,必须 声明)。

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

Java文档org.xml.sax.ext.Attributes2Impl.Attributes2Impl(org.xml.sax.Attributes)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

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

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于