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
-
public class RomanNumbersListLabelsDetectionAlgorithm extends LettersListLabelsDetectionAlgorithm
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringROMAN_NUMBER_REGEX
-
Constructor Summary
Constructors Constructor Description RomanNumbersListLabelsDetectionAlgorithm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetLowerCaseRegex()protected IntegergetNumberFromString(String string)protected StringgetRegex()protected StringgetStringFromNumber(Integer number)protected StringgetUpperCaseRegex()-
Methods inherited from class org.verapdf.wcag.algorithms.semanticalgorithms.utils.listLabelsDetection.LettersListLabelsDetectionAlgorithm
getItemsIntervals, isCharMatchRegex, isListLabels
-
Methods inherited from class org.verapdf.wcag.algorithms.semanticalgorithms.utils.listLabelsDetection.ListLabelsDetectionAlgorithm
getCommonStartLength, getNotRegexEndLength, getNotRegexStartLength, getRegexStartLength, getRegexStartLength
-
-
-
-
Field Detail
-
ROMAN_NUMBER_REGEX
protected static final String ROMAN_NUMBER_REGEX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRegex
protected String getRegex()
- Specified by:
getRegexin classListLabelsDetectionAlgorithm
-
getLowerCaseRegex
protected String getLowerCaseRegex()
- Specified by:
getLowerCaseRegexin classLettersListLabelsDetectionAlgorithm
-
getUpperCaseRegex
protected String getUpperCaseRegex()
- Specified by:
getUpperCaseRegexin classLettersListLabelsDetectionAlgorithm
-
getStringFromNumber
protected String getStringFromNumber(Integer number)
- Specified by:
getStringFromNumberin classListLabelsDetectionAlgorithm
-
getNumberFromString
protected Integer getNumberFromString(String string)
- Specified by:
getNumberFromStringin classListLabelsDetectionAlgorithm
-
-