Interface RBNFPostProcessor

    • 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-processor
        rules - 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 processing
        ruleSet - the rule set originally invoked to generate the output