AttributeListImpl 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This class is obsoleted in this android platform
AttributeList 的預設實作。
[Android.Runtime.Register("org/xml/sax/helpers/AttributeListImpl", DoNotGenerateAcw=true)]
[System.Obsolete("This class is obsoleted in this android platform")]
public class AttributeListImpl : Java.Lang.Object, IDisposable, Org.Xml.Sax.IAttributeList
[<Android.Runtime.Register("org/xml/sax/helpers/AttributeListImpl", DoNotGenerateAcw=true)>]
[<System.Obsolete("This class is obsoleted in this android platform")>]
type AttributeListImpl = class
inherit Object
interface IAttributeList
interface IJavaObject
interface IDisposable
interface IJavaPeerable
- 繼承
- 屬性
- 實作
備註
AttributeList 的預設實作。
< > <引用 em>這個模組,包括原始碼和文件,皆屬於公有領域,並附帶<強烈>的無保證</強力>保證。</em> 欲了解更多資訊請參見http://www.saxproject.org。 </區塊引用>
AttributeList 實作了已棄用的 SAX1 org.xml.sax.AttributeList AttributeList 介面,並已被新的 SAX2 org.xml.sax.helpers.AttributesImpl AttributesImpl 介面取代。
此類別提供 SAX org.xml.sax.AttributeList AttributeList 介面的便利實作。 此實作對 SAX 解析器撰寫者(SAX 解析器撰寫者)及 SAX 應用撰寫者(可建立元素屬性規範的持久副本)皆有用:
private AttributeList myatts;
public void startElement (String name, AttributeList atts)
{
// create a persistent copy of the attribute list
// for use outside this method
myatts = new AttributeListImpl(atts);
[...]
}
請注意,SAX 解析器並非必須使用此類別來實作 AttributeList;它僅作為選配便利提供。 特別是,鼓勵語法分析器撰寫者發明更有效率的實作方式。
此會員已被棄用。 此類別實作一個已棄用的介面, org.xml.sax.AttributeList AttributeList;該介面已被 取代 org.xml.sax.Attributes Attributes,而 則由 helper 類別實作 org.xml.sax.helpers.AttributesImpl AttributesImpl 。
在 SAX 1.0 中加入。
的 org.xml.sax.helpers.AttributeListImplJava 檔。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
建構函式
| 名稱 | Description |
|---|---|
| AttributeListImpl() |
已淘汰.
建立一個空屬性清單。 |
| AttributeListImpl(IAttributeList) |
已淘汰.
建立一個持續存在的屬性清單副本。 |
| AttributeListImpl(IntPtr, JniHandleOwnership) |
已淘汰.
用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。 |
屬性
| 名稱 | Description |
|---|---|
| Class |
已淘汰.
回傳此 |
| Handle |
已淘汰.
底層 Android 實例的帳號。 (繼承來源 Object) |
| JniIdentityHashCode |
已淘汰.
取得由互通執行時指派給此 Java 對等端的身份雜湊碼。 (繼承來源 Object) |
| JniManagedPeerState |
已淘汰.
AttributeList 的預設實作。 (繼承來源 JavaObject) |
| JniPeerMembers |
已淘汰.
此 API 支援適用於 Android 的 Mono 基礎結構,並不適合直接從您的程式代碼使用。 |
| Length |
已淘汰.
回傳列表中的屬性數量。 |
| PeerReference |
已淘汰.
取得這個 Java 節點的 JNI 物件參考。 (繼承來源 Object) |
| ThresholdClass |
已淘汰.
此 API 支援適用於 Android 的 Mono 基礎結構,並不適合直接從您的程式代碼使用。 |
| ThresholdType |
已淘汰.
此 API 支援適用於 Android 的 Mono 基礎結構,並不適合直接從您的程式代碼使用。 |
方法
| 名稱 | Description |
|---|---|
| AddAttribute(String, String, String) |
已淘汰.
在屬性清單中新增一個屬性。 |
| Clear() |
已淘汰.
清除屬性清單。 |
| Clone() |
已淘汰.
建立並回傳此物件的副本。 (繼承來源 Object) |
| Construct(JniObjectReference, JniObjectReferenceOptions) |
已淘汰.
AttributeList 的預設實作。 (繼承來源 JavaObject) |
| Dispose() |
已淘汰.
釋放該 Java 節點所持有的資源。 (繼承來源 Object) |
| Dispose(Boolean) |
已淘汰.
釋放該 Java 節點所持有的資源。 (繼承來源 Object) |
| DisposeUnlessReferenced() |
已淘汰.
AttributeList 的預設實作。 (繼承來源 JavaObject) |
| Equals(Object) |
已淘汰.
AttributeList 的預設實作。 (繼承來源 JavaObject) |
| Equals(Object) |
已淘汰.
表示是否有其他物體「等同」於此物。 (繼承來源 Object) |
| GetHashCode() |
已淘汰.
回傳物件的雜湊碼值。 (繼承來源 Object) |
| GetName(Int32) |
已淘汰.
取得屬性名稱(依位置)。 |
| GetType(Int32) |
已淘汰.
取得屬性的類型(依位置分類)。 |
| GetType(String) |
已淘汰.
取得屬性的類型(以名稱為準)。 |
| GetValue(Int32) |
已淘汰.
取得屬性的值(依位置)。 |
| GetValue(String) |
已淘汰.
取得屬性的值(透過名稱)。 |
| JavaFinalize() |
已淘汰.
當垃圾回收判定該物件不再有相關參考時,由垃圾回收器呼叫。 (繼承來源 Object) |
| Notify() |
已淘汰.
喚醒一個正在該物件監視器上等待的執行緒。 (繼承來源 Object) |
| NotifyAll() |
已淘汰.
喚醒所有等待該物件監視器的執行緒。 (繼承來源 Object) |
| RemoveAttribute(String) |
已淘汰.
從清單中移除一個屬性。 |
| SetAttributeList(IAttributeList) |
已淘汰.
設定屬性清單,捨棄先前的內容。 |
| SetHandle(IntPtr, JniHandleOwnership) |
已淘汰.
設定 Handle 屬性。 (繼承來源 Object) |
| SetPeerReference(JniObjectReference, JniObjectReferenceOptions) |
已淘汰.
AttributeList 的預設實作。 (繼承來源 JavaObject) |
| ToArray<T>() |
已淘汰.
從這個 Java 陣列包裝器建立一個受管理陣列。 (繼承來源 Object) |
| ToString() |
已淘汰.
回傳物件的字串表示。 (繼承來源 Object) |
| UnregisterFromRuntime() |
已淘汰.
將此 Java 節點從互通執行時中取消註冊。 (繼承來源 Object) |
| Wait() |
已淘汰.
導致目前執行緒等待被喚醒,通常是透過 <em>通知</><em 或 em>中斷</em> 來喚醒。 (繼承來源 Object) |
| Wait(Int64, Int32) |
已淘汰.
會讓目前執行緒等待喚醒,通常是透過 <em>通知</><em 或 em>中斷</em>,或是經過一定的真實時間。 (繼承來源 Object) |
| Wait(Int64) |
已淘汰.
會讓目前執行緒等待喚醒,通常是透過 <em>通知</><em 或 em>中斷</em>,或是經過一定的真實時間。 (繼承來源 Object) |
明確介面實作
| 名稱 | Description |
|---|---|
| IJavaPeerable.Disposed() |
已淘汰.
AttributeList 的預設實作。 (繼承來源 JavaObject) |
| IJavaPeerable.Finalized() |
已淘汰.
AttributeList 的預設實作。 (繼承來源 JavaObject) |
| IJavaPeerable.JniObjectReferenceControlBlock |
已淘汰.
AttributeList 的預設實作。 (繼承來源 JavaObject) |
| IJavaPeerable.SetJniIdentityHashCode(Int32) |
已淘汰.
AttributeList 的預設實作。 (繼承來源 JavaObject) |
| IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) |
已淘汰.
AttributeList 的預設實作。 (繼承來源 JavaObject) |
| IJavaPeerable.SetPeerReference(JniObjectReference) |
已淘汰.
AttributeList 的預設實作。 (繼承來源 JavaObject) |
| IJavaPeerable.UnregisterFromRuntime() |
已淘汰.
AttributeList 的預設實作。 |
擴充方法
| 名稱 | Description |
|---|---|
| GetJniTypeName(IJavaPeerable) |
已淘汰.
取得實例 |
| JavaAs<TResult>(IJavaPeerable) |
已淘汰.
試著強制 |
| JavaCast<TResult>(IJavaObject) |
已淘汰.
執行 Android 執行時檢查型別轉換。 |
| JavaCast<TResult>(IJavaObject) |
已淘汰.
AttributeList 的預設實作。 |
| TryJavaCast<TResult>(IJavaPeerable, TResult) |
已淘汰.
試著強制 |