PublicationContentIterator
A composite Content.Iterator which iterates through a whole manifest and delegates the iteration inside a given resource to media type-specific iterators.
Parameters
The Manifest of the publication which will be iterated through.
Starting Locator in the publication.
List of ResourceContentIteratorFactory which will be used to create the iterator for each resource. The factories are tried in order until there's a match.
Constructors
Functions
Returns true if the iterator has a previous element, suspending the caller while processing it.
Retrieves the element computed by a preceding call to hasNext, or throws an IllegalStateException if hasNext was not invoked. This method should only be used in pair with hasNext.
Advances to the next item and returns it, or null if we reached the end.
Retrieves the element computed by a preceding call to hasPrevious, or throws an IllegalStateException if hasPrevious was not invoked. This method should only be used in pair with hasPrevious.
Advances to the previous item and returns it, or null if we reached the beginning.