Top Fields Constructors Methods
javax.imageio.metadata

pack-priv Class IIONodeList

Located in compilation unit of javax.imageio.metadata.IIOMetadataNode.

extends Object
implements NodeList
Class Inheritance
All Implemented Interfaces
org.w3c.dom.NodeList

Field Summary

Modifier and TypeField and Description
pack-priv List<? extends Node>

Constructor Summary

AccessConstructor and Description
public
IIONodeList(List<? extends Node> nodes)

Method Summary

Modifier and TypeMethod and Description
public int
getLength()

Implements org.w3c.dom.NodeList.getLength.

The number of nodes in the list.

public Node
item(int
Index into the collection.
index
)

Implements org.w3c.dom.NodeList.item.

Returns the indexth item in the collection.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nodesback to summary
pack-priv List<? extends Node> nodes

Constructor Detail

IIONodeListback to summary
public IIONodeList(List<? extends Node> nodes)

Method Detail

getLengthback to summary
public int getLength()

Implements org.w3c.dom.NodeList.getLength.

Doc from org.w3c.dom.NodeList.getLength.

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

itemback to summary
public Node item(int index)

Implements org.w3c.dom.NodeList.item.

Doc from org.w3c.dom.NodeList.item.

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.

Parameters
index:int

Index into the collection.

Returns:Node

The node at the indexth position in the NodeList, or null if that is not a valid index.