Class GFSAPDFDocument

java.lang.Object
org.verapdf.model.GenericModelObject
org.verapdf.gf.model.impl.sa.GFSAPDFDocument
All Implemented Interfaces:
Object, SAPDFDocument, org.verapdf.wcag.algorithms.entities.IDocument

public class GFSAPDFDocument extends GenericModelObject implements SAPDFDocument, org.verapdf.wcag.algorithms.entities.IDocument
Author:
Maxim Plushchov
  • Field Details

  • Constructor Details

    • GFSAPDFDocument

      public GFSAPDFDocument(PDDocument document)
  • Method Details

    • getLinkedObjects

      public List<? extends Object> getLinkedObjects(String link)
      Specified by:
      getLinkedObjects in interface Object
      Overrides:
      getLinkedObjects in class GenericModelObject
      Parameters:
      link - - the name of a link
      Returns:
      List of objects with the given link
    • getNumberOfPages

      public int getNumberOfPages()
      Specified by:
      getNumberOfPages in interface org.verapdf.wcag.algorithms.entities.IDocument
    • getPages

      public List<org.verapdf.wcag.algorithms.entities.IPage> getPages()
      Specified by:
      getPages in interface org.verapdf.wcag.algorithms.entities.IDocument
    • parseStructureTreeRoot

      public void parseStructureTreeRoot()
    • getStructureTreeRoot

      public List<SAStructTreeRoot> getStructureTreeRoot()
    • parseChunks

      public void parseChunks()
    • getArtifacts

      public List<org.verapdf.wcag.algorithms.entities.content.IChunk> getArtifacts(Integer pageNumber)
      Specified by:
      getArtifacts in interface org.verapdf.wcag.algorithms.entities.IDocument
    • getPage

      public org.verapdf.wcag.algorithms.entities.IPage getPage(Integer pageNumber)
      Specified by:
      getPage in interface org.verapdf.wcag.algorithms.entities.IDocument
    • getArtifacts

      public List<org.verapdf.wcag.algorithms.entities.content.IChunk> getArtifacts()
      Specified by:
      getArtifacts in interface org.verapdf.wcag.algorithms.entities.IDocument
    • getTree

      public org.verapdf.wcag.algorithms.entities.ITree getTree()
      Specified by:
      getTree in interface org.verapdf.wcag.algorithms.entities.IDocument