Interface RBNFPostProcessor

All Known Implementing Classes:
RBNFChinesePostProcessor

interface RBNFPostProcessor
Post processor for RBNF output.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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

      void init(RuleBasedNumberFormat formatter, 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(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