public interface NameList
NameList
接口提供了抽象的有序集合的并行双名称和命名空间值(可以是空值),而不限定或限制如何集合实现。在
NameList
项目都可以通过积分指数,从0开始。
Modifier and Type | Method and Description |
---|---|
boolean |
contains(String str)
测试是否有叫这个
NameList 部分。
|
boolean |
containsNS(String namespaceURI, String name)
如果对测试namespaceuri /叫这
NameList 部分。
|
int |
getLength()
对的数目(名称和namespaceuri)列表中。
|
String |
getName(int index)
返回
index th名称项集合中的。
|
String |
getNamespaceURI(int index)
返回
index th namespaceuri项集合中的。
|
String getName(int index)
index
th名称项集合中的。
index
索引到集合。
NameList
的
index
th职位名称,或
null
如果索引超出范围没有名称为指定的索引或。
String getNamespaceURI(int index)
index
th namespaceuri项集合中的。
index
索引到集合。
NameList
的
index
th位置的命名空间URI或
null
如果索引超出范围没有名称为指定的索引或。
int getLength()
length-1
包容。
boolean contains(String str)
NameList
部分。
str
-寻找名字。
true
名称是否已被发现,
false
否则。
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.