Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 1117
نمايش فراداده

NameListorg.w3c.dom

Java 5.0

This Level 3 interface represnts a fixed-size, read-only list of element or attribute names and their namespace URI. getLength( ) returns the length of the list. getName( ) and getNamespaceURI( ) return the name and namespace at the specified index. contains( ) and containsNS( ) test for membership in the list.

This interface is unused within the org.w3c.dom package.

public interface

NameList { // Public Instance Methods boolean

contains (String

str ); boolean

containsNS (String

namespaceURI , String

name ); int

getLength ( ); String

getName (int

index ); String

getNamespaceURI (int

index ); }