Class RoleMappingResolver

    • Constructor Detail

      • RoleMappingResolver

        RoleMappingResolver​(java.lang.String role,
                            PdfDocument document)
    • Method Detail

      • getRole

        public java.lang.String getRole()
        Description copied from interface: IRoleMappingResolver
        Defines the current role of the resolver. On every successful resolving "step" the role returned by this method changes in order to reflect the mapping of the previous role.
        Specified by:
        getRole in interface IRoleMappingResolver
        Returns:
        the String which identifies current role of the resolver.
      • currentRoleIsStandard

        public boolean currentRoleIsStandard()
        Description copied from interface: IRoleMappingResolver
        Checks if the current role belongs to one of the standard structure namespaces.
        Specified by:
        currentRoleIsStandard in interface IRoleMappingResolver
        Returns:
        true if the current namespace is a standard structure namespace and the current role is defined as standard role in it.
      • currentRoleShallBeMappedToStandard

        public boolean currentRoleShallBeMappedToStandard()
        Description copied from interface: IRoleMappingResolver
        Checks if the current role and namespace are specified to be obligatory mapped to the standard structure namespace in order to be a valid role in the Tagged PDF.
        Specified by:
        currentRoleShallBeMappedToStandard in interface IRoleMappingResolver
        Returns:
        true, if the current role in the current namespace either belongs to the standard structure roles or is in the domain specific namespace; otherwise false.