public class RuleManager extends Object
| Constructor and Description |
|---|
RuleManager(SrxDocument document,
List<LanguageRule> languageRuleList,
int maxLookbehindConstructLength)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<Rule> |
getBreakRuleList() |
Pattern |
getExceptionPattern(Rule breakRule) |
public RuleManager(SrxDocument document, List<LanguageRule> languageRuleList, int maxLookbehindConstructLength)
breakRuleList and constructs
corresponding exception patterns in exceptionPatternMap.
Uses document cache to store rules and patterns.document - SRX documentlanguageRuleList - list of language rulesmaxLookbehindConstructLength - Maximum length of regular expression in lookbehind (see Util.finitize(String, int)).Copyright © 2018. All Rights Reserved.