Class EpubParser.Spine

java.lang.Object
com.attribyte.parser.epub.EpubParser.Spine
Enclosing class:
EpubParser

public static final class EpubParser.Spine extends Object
A document spine.
  • Field Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • images

      public List<EpubParser.ManifestItem> images()
      Returns:
      A list containing all items from both linear and non-linear lists that are images.
    • linearXHTML

      public List<EpubParser.ManifestItem> linearXHTML()
      Returns:
      All items in the linear list that are XHTML.
    • mergeLinearXHTML

      public org.jsoup.nodes.Document mergeLinearXHTML() throws IOException
      Merge all the linear XHTML into a single document.
      Returns:
      The document.
      Throws:
      IOException
    • nonLinearXHTML

      public List<EpubParser.ManifestItem> nonLinearXHTML()
      Returns:
      All items in the non-linear list that are XHTML.