Team LiB
Previous Section Next Section

DOMStringListorg.w3c.dom

Java 5.0

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( )

    Team LiB
    Previous Section Next Section