語言

Attributes2Impl 建構函式

定義

多載

名稱 Description
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 或 Attributes2 物件。 如果物件實作 Attributes2,則會複製 em specified</em <> 及 em>宣告</em> 標誌的值<。> 否則,旗標值預設未使用DTD,除非有相反證據(例如屬性型別非CDATA,必須是em<>宣告</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 Native Interface (JNI) 對象參考。

transfer
JniHandleOwnership

JniHandleOwnership,指出如何處理javaReference

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於