Class LettersListLabelsDetectionAlgorithm
java.lang.Object
org.verapdf.wcag.algorithms.semanticalgorithms.utils.listLabelsDetection.ListLabelsDetectionAlgorithm
org.verapdf.wcag.algorithms.semanticalgorithms.utils.listLabelsDetection.LettersListLabelsDetectionAlgorithm
- Direct Known Subclasses:
AlfaLettersListLabelsDetectionAlgorithm,CircledArabicNumbersListLabelsDetectionAlgorithm,KoreanLettersListLabelsDetectionAlgorithm,RomanNumbersListLabelsDetectionAlgorithm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetItemsIntervals(List<ListItemTextInfo> itemsInfo) protected abstract Stringprotected IntegergetNumberFromString(String string) protected StringgetStringFromNumber(Integer number) protected abstract Stringprotected booleanisCharMatchRegex(String s, int index) booleanisListLabels(List<String> labels, int commonStartLength, int commonEndLength) Methods inherited from class org.verapdf.wcag.algorithms.semanticalgorithms.utils.listLabelsDetection.ListLabelsDetectionAlgorithm
checkPrefixAndSuffix, getCommonStartLength, getNotRegexEndLength, getNotRegexStartLength, getRegex, getRegexStartLength, getRegexStartLength
-
Constructor Details
-
LettersListLabelsDetectionAlgorithm
public LettersListLabelsDetectionAlgorithm()
-
-
Method Details
-
isListLabels
- Specified by:
isListLabelsin classListLabelsDetectionAlgorithm
-
getItemsIntervals
- Specified by:
getItemsIntervalsin classListLabelsDetectionAlgorithm
-
getLowerCaseRegex
-
getLetters
-
getUpperCaseRegex
-
isCharMatchRegex
-
getStringFromNumber
- Specified by:
getStringFromNumberin classListLabelsDetectionAlgorithm
-
getNumberFromString
- Specified by:
getNumberFromStringin classListLabelsDetectionAlgorithm
-