Class ListUtils
- java.lang.Object
-
- org.verapdf.wcag.algorithms.semanticalgorithms.utils.ListUtils
-
public class ListUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description ListUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Set<ListInterval>getChildrenListIntervals(Set<ListInterval> listIntervals, List<? extends InfoChunk> childrenFirstLines)static booleanisList(Table table)static booleanisListImageLabels(List<BoundingBox> listLabels)static booleanisListNode(INode node)static voidupdateTreeWithRecognizedList(INode node, List<INode> children, Set<ListInterval> listIntervals)static voidupdateTreeWithRecognizedListItem(INode item, Long listId)
-
-
-
Method Detail
-
isListNode
public static boolean isListNode(INode node)
-
isList
public static boolean isList(Table table)
-
isListImageLabels
public static boolean isListImageLabels(List<BoundingBox> listLabels)
-
updateTreeWithRecognizedList
public static void updateTreeWithRecognizedList(INode node, List<INode> children, Set<ListInterval> listIntervals)
-
updateTreeWithRecognizedListItem
public static void updateTreeWithRecognizedListItem(INode item, Long listId)
-
getChildrenListIntervals
public static Set<ListInterval> getChildrenListIntervals(Set<ListInterval> listIntervals, List<? extends InfoChunk> childrenFirstLines)
-
-