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 TypeMethodDescriptioncheckPrefixAndSuffix(String prefix, String suffix) protected Stringprotected IntegergetNumberFromString(String string) protected StringgetNumberingStyle(boolean isUpperCase) protected StringgetRegex()protected StringgetStringFromNumber(Integer number) protected StringMethods inherited from class org.verapdf.wcag.algorithms.semanticalgorithms.utils.listLabelsDetection.LettersListLabelsDetectionAlgorithm
getItemsIntervals, getLetters, isCharMatchRegex, isListLabelsMethods inherited from class org.verapdf.wcag.algorithms.semanticalgorithms.utils.listLabelsDetection.ListLabelsDetectionAlgorithm
getCommonStartLength, getIncrement, getListItemInfo, getNotRegexEndLength, getNotRegexStartLength, getRegexStartLength, getRegexStartLength, recalculatePrefixLength, setIncrement
-
Field Details
-
ROMAN_NUMBER_REGEX
- See Also:
-
-
Constructor Details
-
RomanNumbersListLabelsDetectionAlgorithm
public RomanNumbersListLabelsDetectionAlgorithm() -
RomanNumbersListLabelsDetectionAlgorithm
public RomanNumbersListLabelsDetectionAlgorithm(int increment)
-
-
Method Details
-
getNumberingStyle
- Specified by:
getNumberingStylein classListLabelsDetectionAlgorithm
-
getRegex
- Specified by:
getRegexin classListLabelsDetectionAlgorithm
-
getLowerCaseRegex
- Specified by:
getLowerCaseRegexin classLettersListLabelsDetectionAlgorithm
-
getUpperCaseRegex
- Specified by:
getUpperCaseRegexin classLettersListLabelsDetectionAlgorithm
-
getStringFromNumber
- Overrides:
getStringFromNumberin classLettersListLabelsDetectionAlgorithm
-
getNumberFromString
- Overrides:
getNumberFromStringin classLettersListLabelsDetectionAlgorithm
-
checkPrefixAndSuffix
- Overrides:
checkPrefixAndSuffixin classListLabelsDetectionAlgorithm
-