Interface HTMLCorrectorStrategy
- All Known Implementing Classes:
HTMLCorrectorReplaceStrategy
public interface HTMLCorrectorStrategy
Interface for correction strategies.
- Since:
- 3.1u6
-
Field Details
-
BR_REPLACE_STRATEGY_MAP
name of configuration file that holds replace map to fix PLA-5820- See Also:
-
REPLACE_STRATEGY
represents string-name of corrector strategy (strategy=replace)- See Also:
-
-
Method Details
-
correct
Corrects 'in' string HTML fragment according to chosen strategy- Parameters:
htmlIn- HTML fragment for correctioncorrectionMapFile- path to properties file with correction map.- Returns:
- String - HTML fragment after conversion
-