Class RomanNumbersListLabelsDetectionAlgorithm
java.lang.Object
org.verapdf.wcag.algorithms.semanticalgorithms.utils.listLabelsDetection.ListLabelsDetectionAlgorithm
org.verapdf.wcag.algorithms.semanticalgorithms.utils.listLabelsDetection.LettersListLabelsDetectionAlgorithm
org.verapdf.wcag.algorithms.semanticalgorithms.utils.listLabelsDetection.RomanNumbersListLabelsDetectionAlgorithm
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BooleancheckPrefixAndSuffix(String prefix, String suffix) protected Stringprotected IntegergetNumberFromString(String string) protected StringgetRegex()protected StringgetStringFromNumber(Integer number) protected StringMethods inherited from class org.verapdf.wcag.algorithms.semanticalgorithms.utils.listLabelsDetection.LettersListLabelsDetectionAlgorithm
getItemsIntervals, isCharMatchRegex, isListLabelsMethods inherited from class org.verapdf.wcag.algorithms.semanticalgorithms.utils.listLabelsDetection.ListLabelsDetectionAlgorithm
getCommonStartLength, getNotRegexEndLength, getNotRegexStartLength, getRegexStartLength, getRegexStartLength
-
Field Details
-
ROMAN_NUMBER_REGEX
- See Also:
-
-
Constructor Details
-
RomanNumbersListLabelsDetectionAlgorithm
public RomanNumbersListLabelsDetectionAlgorithm()
-
-
Method Details
-
getRegex
- Specified by:
getRegexin classListLabelsDetectionAlgorithm
-
getLowerCaseRegex
- Specified by:
getLowerCaseRegexin classLettersListLabelsDetectionAlgorithm
-
getUpperCaseRegex
- Specified by:
getUpperCaseRegexin classLettersListLabelsDetectionAlgorithm
-
getStringFromNumber
- Specified by:
getStringFromNumberin classListLabelsDetectionAlgorithm
-
getNumberFromString
- Specified by:
getNumberFromStringin classListLabelsDetectionAlgorithm
-
checkPrefixAndSuffix
- Overrides:
checkPrefixAndSuffixin classListLabelsDetectionAlgorithm
-