Attributes2Impl 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于实现 Attributes2
接口的其他属性信息的 SAX2 扩展帮助程序。
[Android.Runtime.Register("org/xml/sax/ext/Attributes2Impl", DoNotGenerateAcw=true)]
public class Attributes2Impl : Org.Xml.Sax.Helpers.AttributesImpl, IDisposable, Java.Interop.IJavaPeerable, Org.Xml.Sax.Ext.IAttributes2
[<Android.Runtime.Register("org/xml/sax/ext/Attributes2Impl", DoNotGenerateAcw=true)>]
type Attributes2Impl = class
inherit AttributesImpl
interface IAttributes2
interface IAttributes
interface IJavaObject
interface IDisposable
interface IJavaPeerable
- 继承
- 属性
- 实现
注解
用于实现 Attributes2
接口的其他属性信息的 SAX2 扩展帮助程序。
<blockquote><em>此模块,源代码和文档都在公共域中,并附带 <强大的>无保证</强>。</em></blockquote>
这不是仅限核心的 SAX2 分发版的一部分。
每个属性的 <em>specified</em> 标志将始终为 true,除非已在复制构造函数中 #setSpecified
或使用 将其设置为 false。 同样,每个属性的 <em declared</em> 标志将始终为 false,但默认属性除外, (<em>specified</em> 为 false) 、非 CDATA 属性或使用 将其设置为 true #setDeclared
时。> 如果手动更改属性的类型,可能需要修改其 <em>declared</em> 标志以匹配。
在 SAX 2.0 中添加 (扩展 1.1 alpha) 。
的 org.xml.sax.ext.Attributes2Impl
Java 文档。
此页面的部分内容是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的术语使用。
构造函数
Attributes2Impl() |
构造一个新的空 Attributes2Impl 对象。 |
Attributes2Impl(IAttributes) |
复制现有的 Attributes 或 Attributes2 对象。 |
Attributes2Impl(IntPtr, JniHandleOwnership) |
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。 |
属性
Class |
返回此 |
Handle |
基础 Android 实例的句柄。 (继承自 Object) |
JniIdentityHashCode |
用于实现 |
JniPeerMembers |
用于实现 |
Length |
返回列表中的属性数。 (继承自 AttributesImpl) |
PeerReference |
用于实现 |
ThresholdClass |
此 API 支持 Mono for Android 基础结构,不应直接从代码使用。 |
ThresholdType |
此 API 支持 Mono for Android 基础结构,不应直接从代码使用。 |
方法
AddAttribute(String, String, String, String, String) |
将属性添加到列表的末尾。 (继承自 AttributesImpl) |
Clear() |
清除属性列表以供重复使用。 (继承自 AttributesImpl) |
Clone() |
创建并返回此对象的副本。 (继承自 Object) |
Dispose() |
用于实现 |
Dispose(Boolean) |
用于实现 |
Equals(Object) |
指示其他某个对象是否“等于”此对象。 (继承自 Object) |
GetHashCode() |
返回对象的哈希代码值。 (继承自 Object) |
GetIndex(String) |
按带前缀的限定 () 名称查找属性的索引。 (继承自 AttributesImpl) |
GetIndex(String, String) |
按命名空间名称查找属性的索引。 (继承自 AttributesImpl) |
GetLocalName(Int32) |
返回属性的本地名称。 (继承自 AttributesImpl) |
GetQName(Int32) |
返回属性的限定 (前缀) 名称。 (继承自 AttributesImpl) |
GetType(Int32) |
按索引返回属性的类型。 (继承自 AttributesImpl) |
GetType(String) |
按限定 (前缀) 名称查找属性的类型。 (继承自 AttributesImpl) |
GetType(String, String) |
按命名空间限定的名称查找属性的类型。 (继承自 AttributesImpl) |
GetURI(Int32) |
返回属性的命名空间 URI。 (继承自 AttributesImpl) |
GetValue(Int32) |
按索引返回特性的值。 (继承自 AttributesImpl) |
GetValue(String) |
按限定 (前缀) 名称查找特性的值。 (继承自 AttributesImpl) |
GetValue(String, String) |
按命名空间限定的名称查找特性的值。 (继承自 AttributesImpl) |
IsDeclared(Int32) |
返回 false,除非在 DTD 中声明了特性。 |
IsDeclared(String) |
返回 false,除非在 DTD 中声明了特性。 |
IsDeclared(String, String) |
返回 false,除非在 DTD 中声明了特性。 |
IsSpecified(Int32) |
返回特性的“指定”标志的当前值。 |
IsSpecified(String) |
返回特性的“指定”标志的当前值。 |
IsSpecified(String, String) |
返回特性的“指定”标志的当前值。 |
JavaFinalize() |
当垃圾回收确定不再引用对象时,由对象上的垃圾回收器调用。 (继承自 Object) |
Notify() |
唤醒正在等待此对象的监视器的单个线程。 (继承自 Object) |
NotifyAll() |
唤醒正在等待此对象的监视器的所有线程。 (继承自 Object) |
RemoveAttribute(Int32) |
从列表中删除属性。 (继承自 AttributesImpl) |
SetAttribute(Int32, String, String, String, String, String) |
在列表中设置属性。 (继承自 AttributesImpl) |
SetAttributes(IAttributes) |
复制整个 Attributes 对象。 (继承自 AttributesImpl) |
SetDeclared(Int32, Boolean) |
为特定属性的“已声明”标志赋值。 |
SetHandle(IntPtr, JniHandleOwnership) |
设置 Handle 属性。 (继承自 Object) |
SetLocalName(Int32, String) |
设置特定属性的本地名称。 (继承自 AttributesImpl) |
SetQName(Int32, String) |
设置特定属性的限定名称。 (继承自 AttributesImpl) |
SetSpecified(Int32, Boolean) |
为特定属性的“指定”标志赋值。 |
SetType(Int32, String) |
设置特定属性的类型。 (继承自 AttributesImpl) |
SetURI(Int32, String) |
设置特定属性的命名空间 URI。 (继承自 AttributesImpl) |
SetValue(Int32, String) |
设置特定属性的值。 (继承自 AttributesImpl) |
ToArray<T>() |
用于实现 |
ToString() |
返回对象的字符串表示形式。 (继承自 Object) |
UnregisterFromRuntime() |
用于实现 |
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() |
用于实现 |
IJavaPeerable.DisposeUnlessReferenced() |
用于实现 |
IJavaPeerable.Finalized() |
用于实现 |
IJavaPeerable.JniManagedPeerState |
用于实现 |
IJavaPeerable.SetJniIdentityHashCode(Int32) |
用于实现 |
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) |
用于实现 |
IJavaPeerable.SetPeerReference(JniObjectReference) |
用于实现 |
扩展方法
JavaCast<TResult>(IJavaObject) |
执行 Android 运行时检查的类型转换。 |
JavaCast<TResult>(IJavaObject) |
用于实现 |
GetJniTypeName(IJavaPeerable) |
用于实现 |