Package org.verapdf.gf.model.impl.sa
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 Summary
FieldsModifier and TypeFieldDescriptionprotected PDDocumentstatic final Stringstatic final intstatic final Stringstatic final StringFields inherited from class org.verapdf.model.GenericModelObject
contextDependent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.verapdf.wcag.algorithms.entities.content.IChunk>List<org.verapdf.wcag.algorithms.entities.content.IChunk>getArtifacts(Integer pageNumber) getLinkedObjects(String link) intorg.verapdf.wcag.algorithms.entities.IPageList<org.verapdf.wcag.algorithms.entities.IPage>getPages()org.verapdf.wcag.algorithms.entities.ITreegetTree()voidvoidMethods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Field Details
-
DOCUMENT_TYPE
- See Also:
-
document
-
MAX_NUMBER_OF_ELEMENTS
public static final int MAX_NUMBER_OF_ELEMENTS- See Also:
-
STRUCTURE_TREE_ROOT
- See Also:
-
PAGES
- See Also:
-
-
Constructor Details
-
GFSAPDFDocument
-
-
Method Details
-
getLinkedObjects
- Specified by:
getLinkedObjectsin interfaceObject- Overrides:
getLinkedObjectsin classGenericModelObject- Parameters:
link- - the name of a link- Returns:
- List of objects with the given link
-
getNumberOfPages
public int getNumberOfPages()- Specified by:
getNumberOfPagesin interfaceorg.verapdf.wcag.algorithms.entities.IDocument
-
getPages
- Specified by:
getPagesin interfaceorg.verapdf.wcag.algorithms.entities.IDocument
-
parseStructureTreeRoot
public void parseStructureTreeRoot() -
getStructureTreeRoot
-
parseChunks
public void parseChunks() -
getArtifacts
- Specified by:
getArtifactsin interfaceorg.verapdf.wcag.algorithms.entities.IDocument
-
getPage
- Specified by:
getPagein interfaceorg.verapdf.wcag.algorithms.entities.IDocument
-
getArtifacts
- Specified by:
getArtifactsin interfaceorg.verapdf.wcag.algorithms.entities.IDocument
-
getTree
public org.verapdf.wcag.algorithms.entities.ITree getTree()- Specified by:
getTreein interfaceorg.verapdf.wcag.algorithms.entities.IDocument
-