Package 

Class HtmlResourceContentIterator

  • All Implemented Interfaces:
    org.readium.r2.shared.publication.services.content.Content.Iterator

    
    public final class HtmlResourceContentIterator
     implements Content.Iterator
                        

    Iterates an HTML resource, starting from the given locator.

    If you want to start mid-resource, the locator must contain a cssSelector key in its Locator.Locations object.

    If you want to start from the end of the resource, the locator must have a progression of 1.0.

    Locators will contain a before context of up to beforeMaxLength characters.