Package com.ibm.icu.text
Interface RBNFPostProcessor
-
- All Known Implementing Classes:
RBNFChinesePostProcessor
interface RBNFPostProcessor
Post processor for RBNF output.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
init(RuleBasedNumberFormat formatter, java.lang.String rules)
Initialization routine for this instance, called once immediately after first construction and never again.void
process(java.lang.StringBuilder output, NFRuleSet ruleSet)
Work routine.
-
-
-
Method Detail
-
init
void init(RuleBasedNumberFormat formatter, java.lang.String rules)
Initialization routine for this instance, called once immediately after first construction and never again.- Parameters:
formatter
- the formatter that will be using this post-processorrules
- the special rules for this post-procesor
-
process
void process(java.lang.StringBuilder output, NFRuleSet ruleSet)
Work routine. Post process the output, which was generated by the ruleset with the given name.- Parameters:
output
- the output of the main RBNF processingruleSet
- the rule set originally invoked to generate the output
-
-