Summary: Ctors | Methods | Inherited Methods | [Expand All]
public abstract class

# PDFNetIterator

extends Object
implements AutoCloseable Cloneable Iterator<E>

java.lang.Object
↳ | com.pdftron.common.PDFNetIterator<T>

Known Direct Subclasses CharIterator, ContentNodeIterator, DigitalSignatureFieldIterator, FDFFieldIterator, FieldIterator, FontCharCodeIterator, GSChangesIterator, PageIterator
CharIterator | CharIterator is an iterator type that can be used to traverse CharData in the current e_text element.
ContentNodeIterator | ContentNodeIterator is an iterator type that can be used to traverse the children of a content node object.
DigitalSignatureFieldIterator | DigitalSignatureFieldIterator is an iterator type that can be used to traverse a list of form fields in a PDF document.
FDFFieldIterator | FDFFieldIterator is an iterator type used to traverse interactive form fields in a FDF document.
FieldIterator | FieldIterator is an iterator type that can be used to traverse a list of form fields in a PDF document.
FontCharCodeIterator | FontCharCodeIterator is an iterator type that can be used to traverse a list of visible char codes in a font embedded in PDF.
GSChangesIterator | GSChangesIterator is an iterator type that can be used to traverse a list of changes in the graphics state between subsequnet graphical elements on the page.
PageIterator | PageIterator is an iterator type that can be used to traverse a list pages in a PDF document.

## Class Overview

Supports a simple iteration over a non-generic collection.

## Summary

Public Constructors
| PDFNetIterator()

Public Methods
void | Destroy() Frees the native memory of the object.
abstract Object | clone()
void | close() Frees the native memory of the object.
boolean | hasNext() Determine whether iterator can be successfully advanced to the next element
abstract T | next() Advances the iterator to the next element of the collection.
void | remove()

[Expand] Inherited Methods
From class java.lang.Object
boolean | equals(Object arg0)
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()
From interface java.lang.AutoCloseable
abstract void | close()
From interface java.util.Iterator
abstract void | forEachRemaining(Consumer<? super E> arg0)
abstract boolean | hasNext()
abstract E | next()
abstract void | remove()

## Public Constructors

#### public PDFNetIterator ()

## Public Methods

#### public void Destroy ()

Frees the native memory of the object. This can be explicity called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.

##### Throws

PDFNetException |

#### public abstract Object clone ()

#### public void close ()

Frees the native memory of the object. This can be explicitly called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.

##### Throws

PDFNetException |

#### public boolean hasNext ()

Determine whether iterator can be successfully advanced to the next element

##### Returns

- true if the iterator can be successfully advanced to the next element; false if the end collection is reached.

#### public abstract T next ()

Advances the iterator to the next element of the collection.

##### Returns

- the next object

#### public void remove ()