AttributeListImpl 类

定义

注意

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, Java.Interop.IJavaPeerable, 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
继承
AttributeListImpl
属性
实现

注解

AttributeList 的默认实现。

<blockquote><em>此模块(源代码和文档)位于公共域中,附带 <强大的>无担保</强>。</em> 有关详细信息,请参阅 http://www.saxproject.org 。 </blockquote>

AttributeList 实现已弃用的 SAX1 org.xml.sax.AttributeList AttributeList 接口,并已由新的 SAX2 org.xml.sax.helpers.AttributesImpl AttributesImpl 接口替换。

此类提供了 SAX org.xml.sax.AttributeList AttributeList 接口的便捷实现。 对于 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,后者在帮助程序类中 org.xml.sax.helpers.AttributesImpl AttributesImpl 实现。

在 SAX 1.0 中添加。

org.xml.sax.helpers.AttributeListImplJava 文档。

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

构造函数

AttributeListImpl()
已过时.

创建一个空的属性列表。

AttributeListImpl(IAttributeList)
已过时.

构造现有属性列表的持久副本。

AttributeListImpl(IntPtr, JniHandleOwnership)
已过时.

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

属性

Class
已过时.

返回此 Object的运行时类。

(继承自 Object)
Handle
已过时.

基础 Android 实例的句柄。

(继承自 Object)
JniIdentityHashCode
已过时.

AttributeList 的默认实现。

(继承自 Object)
JniPeerMembers
已过时.

AttributeList 的默认实现。

Length
已过时.

返回列表中的属性数。

PeerReference
已过时.

AttributeList 的默认实现。

(继承自 Object)
ThresholdClass
已过时.

此 API 支持 Mono for Android 基础结构,不应直接从代码中使用。

ThresholdType
已过时.

此 API 支持 Mono for Android 基础结构,不应直接从代码中使用。

方法

AddAttribute(String, String, String)
已过时.

将属性添加到属性列表。

Clear()
已过时.

清除属性列表。

Clone()
已过时.

创建并返回此对象的副本。

(继承自 Object)
Dispose()
已过时.

AttributeList 的默认实现。

(继承自 Object)
Dispose(Boolean)
已过时.

AttributeList 的默认实现。

(继承自 Object)
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)
ToArray<T>()
已过时.

AttributeList 的默认实现。

(继承自 Object)
ToString()
已过时.

返回对象的字符串表示形式。

(继承自 Object)
UnregisterFromRuntime()
已过时.

AttributeList 的默认实现。

(继承自 Object)
Wait()
已过时.

导致当前线程等待,直到它被唤醒,通常是通过 em <通知/em> 或 <em>interrupted</em>。<>

(继承自 Object)
Wait(Int64)
已过时.

导致当前线程等待,直到它被唤醒,通常是通过 em <通知/em> 或 <em>interrupted</em>,或直到经过一定数量的实时。<>

(继承自 Object)
Wait(Int64, Int32)
已过时.

导致当前线程等待,直到它被唤醒,通常是通过 em <通知/em> 或 <em>interrupted</em>,或直到经过一定数量的实时。<>

(继承自 Object)

显式接口实现

IJavaPeerable.Disposed()
已过时.

AttributeList 的默认实现。

(继承自 Object)
IJavaPeerable.DisposeUnlessReferenced()
已过时.

AttributeList 的默认实现。

(继承自 Object)
IJavaPeerable.Finalized()
已过时.

AttributeList 的默认实现。

(继承自 Object)
IJavaPeerable.JniManagedPeerState
已过时.

AttributeList 的默认实现。

(继承自 Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)
已过时.

AttributeList 的默认实现。

(继承自 Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)
已过时.

AttributeList 的默认实现。

(继承自 Object)
IJavaPeerable.SetPeerReference(JniObjectReference)
已过时.

AttributeList 的默认实现。

(继承自 Object)

扩展方法

JavaCast<TResult>(IJavaObject)
已过时.

执行 Android 运行时检查的类型转换。

JavaCast<TResult>(IJavaObject)
已过时.

AttributeList 的默认实现。

GetJniTypeName(IJavaPeerable)
已过时.

AttributeList 的默认实现。

适用于