Class TaggedPDFRoleMapHelper


  • public class TaggedPDFRoleMapHelper
    extends Object
    Author:
    Maksim Bezrukov
    • Constructor Detail

      • TaggedPDFRoleMapHelper

        public TaggedPDFRoleMapHelper​(Map<ASAtom,​ASAtom> roleMap)
        Creates new TaggedPDFRoleMapHelper
        Parameters:
        roleMap - role map from PDF
    • Method Detail

      • getStandardType

        public String getStandardType​(ASAtom type,
                                      boolean isPDFA1,
                                      boolean isWCAG)
        Obtains standard type for the given one
        Parameters:
        type - the type for obtaining the standard
        Returns:
        standard type for the given one or null in cases when there is no standard for the given or there is a cycle of the custom types
      • circularMappingExist

        public Boolean circularMappingExist​(ASAtom type)