All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.w3c.dom.NodeList Maven / Gradle / Ivy

The newest version!
// Copyright (c) 1998 by W3C
//
// DOM is a trademark of W3C
// The DOM level 1 specification, from which this
// source is derived, is copyright by W3C.
// See: http://www.w3.org/TR/REC-DOM-Level-1/
//

package org.w3c.dom;

/**

The NodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented.

The items in the NodeList are accessible via an integral index, starting from 0.


Property Summary
 length getLength

The number of nodes in the list. The range of valid child node indices is 0 to length-1 inclusive.

  */ public interface NodeList { /**

Returns the indexth item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null. @return The node at the indexth position in the NodeList, or null if that is not a valid index. @param index Index into the collection. */ Node item (int index); /** * Returns the value of the length property. */ int getLength (); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy