public interface DOMImplementationList
DOMImplementationList 接口提供对 DOM 实现的有序集合的抽象,没有定义或约束如何实现此集合。DOMImplementationList 中的项可以通过从 0 开始的整数索引访问。
另请参见 Document Object Model (DOM) Level 3 Core Specification。
| 方法摘要 | |
|---|---|
int |
getLength() 列表中 DOMImplementation 的数目。 |
DOMImplementation |
item(int index) 返回集合中的第 index 个项。 |
| 方法详细信息 |
|---|
DOMImplementation item(int index)
index 个项。如果
index 大于或等于列表中的
DOMImplementation 的数目,则此方法返回
null。
index - 集合中的索引。
DOMImplementationList 中第
index 个位置处的
DOMImplementation;如果索引不是有效索引,则返回
null。
int getLength()
DOMImplementation 的数目。有效子节点索引的范围是 0 到
length-1(包含此值)。