Class Pdf20Checker.ParentChildRelationshipHandler

    • Constructor Detail

      • ParentChildRelationshipHandler

        public ParentChildRelationshipHandler​(TagStructureContext context)
    • Method Detail

      • throwInvalidRelationshipException

        private static void throwInvalidRelationshipException​(java.lang.String parentRole,
                                                              java.lang.String childRole)
      • resolveRole

        private java.lang.String resolveRole​(PdfStructElem elem)
      • accept

        public boolean accept​(IStructureNode node)
        Description copied from interface: ITagTreeIteratorHandler
        Checks whether the element should be traversed.
        Specified by:
        accept in interface ITagTreeIteratorHandler
        Parameters:
        node - the element to check
        Returns:
        true if the iteration should be continued, false otherwise