Class TaggedPDFRoleMapHelper

java.lang.Object
org.verapdf.tools.TaggedPDFRoleMapHelper

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

    • TaggedPDFRoleMapHelper

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

    • getStandardType

      public String getStandardType(ASAtom type)
      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
    • isStandardType

      public static boolean isStandardType(StructureType type)
    • circularMappingExist

      public Boolean circularMappingExist(ASAtom type)
    • getRoleMap

      public Map<ASAtom,ASAtom> getRoleMap()