Name

DOMStringList

Synopsis

This Level 3 interface represents a fixed-size, read-only list of strings. getLength( ) returns the length of the list, and item( ) returns the String at the specified index. contains( ) tests whether the specified String is contained in the list. An object of this type is returned by DOMConfiguration.getParameterNames( ).

public interface DOMStringList {
// Public Instance Methods
     boolean contains(String str);  
     int getLength( );  
     String item(int index);  
}

Returned By

DOMConfiguration.getParameterNames( )

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.