2
*******************************************************************************
3
* Copyright (C) 2004-2010, International Business Machines Corporation and *
4
* others. All Rights Reserved. *
5
*******************************************************************************
8
package com.ibm.icu.text;
11
* Post processor for RBNF output.
13
interface RBNFPostProcessor {
15
* Initialization routine for this instance, called once
16
* immediately after first construction and never again.
17
* @param formatter the formatter that will be using this post-processor
18
* @param rules the special rules for this post-procesor
20
void init(RuleBasedNumberFormat formatter, String rules);
23
* Work routine. Post process the output, which was generated by the
24
* ruleset with the given name.
25
* @param output the output of the main RBNF processing
26
* @param ruleSet the rule set originally invoked to generate the output
28
void process(StringBuffer output, NFRuleSet ruleSet);