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