Package com.ibm.icu.text
Interface RBNFPostProcessor
- All Known Implementing Classes:
RBNFChinesePostProcessor
interface RBNFPostProcessor
Post processor for RBNF output.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(RuleBasedNumberFormat formatter, String rules) Initialization routine for this instance, called once immediately after first construction and never again.void
process
(StringBuilder output, NFRuleSet ruleSet) Work routine.
-
Method Details
-
init
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
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
-