public interface NodeList
NodeList
接口提供的节点的有序集合的抽象,没有定义或约束如何集合实现。在DOM对象是生活
NodeList
。
在NodeList
项目都可以通过积分指数,从0开始。
Node item(int index)
index
th项集合中的。如果
index
大于或等于列表中的节点数量,返回
null
。
index
索引到集合。
NodeList
的
index
th位置的节点,或
null
如果这不是一个有效的指标。
int getLength()
length-1
包容。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.