Package com.itextpdf.kernel.pdf.tagutils
Class TagTreePointer.TagTreeIteratorApproverWithStop
- java.lang.Object
-
- com.itextpdf.kernel.pdf.tagutils.TagTreeIteratorElementApprover
-
- com.itextpdf.kernel.pdf.tagutils.TagTreeIteratorAvoidDuplicatesApprover
-
- com.itextpdf.kernel.pdf.tagutils.TagTreePointer.TagTreeIteratorApproverWithStop
-
- Enclosing class:
- TagTreePointer
@Deprecated private static class TagTreePointer.TagTreeIteratorApproverWithStop extends TagTreeIteratorAvoidDuplicatesApprover
Deprecated.change ITagTreeIteratorHandler#nextElement to return boolean showing whether the iteration should be continued. It will allow to get rid of this ugly workaround.
-
-
Field Summary
Fields Modifier and Type Field Description private TagTreePointer.RoleFinderHandler
handler
Deprecated.
-
Constructor Summary
Constructors Constructor Description TagTreeIteratorApproverWithStop(TagTreePointer.RoleFinderHandler handler)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
approve(IStructureNode elem)
Deprecated.Checks whether the element should be traversed.
-
-
-
Field Detail
-
handler
private final TagTreePointer.RoleFinderHandler handler
Deprecated.
-
-
Constructor Detail
-
TagTreeIteratorApproverWithStop
public TagTreeIteratorApproverWithStop(TagTreePointer.RoleFinderHandler handler)
Deprecated.
-
-
Method Detail
-
approve
public boolean approve(IStructureNode elem)
Deprecated.Description copied from class:TagTreeIteratorAvoidDuplicatesApprover
Checks whether the element should be traversed.- Overrides:
approve
in classTagTreeIteratorAvoidDuplicatesApprover
- Parameters:
elem
- the element to check- Returns:
true
if the element should be traversed,false otherwise
-
-