Uses of Class
net.loomchild.segment.srx.Rule
-
Packages that use Rule Package Description net.loomchild.segment.srx net.loomchild.segment.srx.legacy -
-
Uses of Rule in net.loomchild.segment.srx
Fields in net.loomchild.segment.srx declared as Rule Modifier and Type Field Description private Rule
RuleMatcher. rule
Fields in net.loomchild.segment.srx with type parameters of type Rule Modifier and Type Field Description private java.util.List<Rule>
RuleManager. breakRuleList
private java.util.Map<Rule,java.util.regex.Pattern>
RuleManager. exceptionPatternMap
private java.util.List<Rule>
LanguageRule. ruleList
Methods in net.loomchild.segment.srx that return Rule Modifier and Type Method Description Rule
RuleMatcher. getRule()
Methods in net.loomchild.segment.srx that return types with arguments of type Rule Modifier and Type Method Description java.util.List<Rule>
RuleManager. getBreakRuleList()
java.util.List<Rule>
LanguageRule. getRuleList()
Methods in net.loomchild.segment.srx with parameters of type Rule Modifier and Type Method Description void
LanguageRule. addRule(Rule rule)
Adds rule to the end of rule list.private java.lang.String
RuleManager. createExceptionPatternString(Rule rule)
Creates exception pattern string that can be matched in the place where break rule was matched.java.util.regex.Pattern
RuleManager. getExceptionPattern(Rule breakRule)
Constructors in net.loomchild.segment.srx with parameters of type Rule Constructor Description RuleMatcher(SrxDocument document, Rule rule, java.lang.CharSequence text)
Creates matcher.Constructor parameters in net.loomchild.segment.srx with type arguments of type Rule Constructor Description LanguageRule(java.lang.String name, java.util.List<Rule> ruleList)
Creates language rule. -
Uses of Rule in net.loomchild.segment.srx.legacy
Methods in net.loomchild.segment.srx.legacy that return types with arguments of type Rule Modifier and Type Method Description private java.util.List<Rule>
MergedPattern. extractRules(java.util.List<LanguageRule> languageRuleList)
private java.util.List<java.util.List<Rule>>
MergedPattern. groupRules(java.util.List<Rule> ruleList)
Divides rules to groups where all rules in the same group are either breaking or non breaking.Methods in net.loomchild.segment.srx.legacy with parameters of type Rule Modifier and Type Method Description private java.lang.String
ScannerSrxTextIterator. createBreakRegexLookahead(Rule rule)
private java.lang.String
ScannerSrxTextIterator. createBreakRegexNoLookahead(Rule rule)
private java.lang.String
ScannerSrxTextIterator. createExceptionRegex(Rule rule)
Method parameters in net.loomchild.segment.srx.legacy with type arguments of type Rule Modifier and Type Method Description private java.lang.String
MergedPattern. createBreakingPattern(java.util.List<Rule> ruleList)
Merges all breaking rules on list into one pattern.private java.lang.String
MergedPattern. createNonBreakingPattern(java.util.List<Rule> ruleList)
Creates non breaking pattern by merging given rules.private java.util.List<java.util.List<Rule>>
MergedPattern. groupRules(java.util.List<Rule> ruleList)
Divides rules to groups where all rules in the same group are either breaking or non breaking.
-