APIdia Launch Partner
Top Description Methods
javax.xml.crypto

public Interface NodeSetData<T>

extends Data, Iterable<T>
Known Direct Implementers
org.jcp.xml.dsig.internal.dom.ApacheNodeSetData, org.jcp.xml.dsig.internal.dom.DOMSubTreeData
Type Parameters
<T>
the type of nodes maintained by this set
Imports
java.util.Iterator

An abstract representation of a Data type containing a node-set. The type (class) and ordering of the nodes contained in the set are not defined by this class; instead that behavior should be defined by NodeSetData subclasses.
Authors
Sean Mullan, JSR 105 Expert Group
Since
1.6

Method Summary

Modifier and TypeMethod and Description
public Iterator<T>

Returns:

an Iterator over the nodes in this NodeSetData in document order
iterator
()

Redeclares java.lang.Iterable.iterator.

Returns a read-only iterator over the nodes contained in this NodeSetData in document order.

Inherited from java.lang.Iterable:
forEachspliterator

Method Detail

iteratorback to summary
public Iterator<T> iterator()

Redeclares java.lang.Iterable.iterator.

Returns a read-only iterator over the nodes contained in this NodeSetData in document order. Attempts to modify the returned iterator via the remove method throw UnsupportedOperationException.

Returns:Iterator<T>

an Iterator over the nodes in this NodeSetData in document order