Top Description Fields Constructors Methods
com.ibm.icu.text

pack-priv final Class RBNFChinesePostProcessor

extends Object
implements RBNFPostProcessor
Class Inheritance
All Implemented Interfaces
com.ibm.icu.text.RBNFPostProcessor

A post-processor for Chinese text.

Field Summary

Modifier and TypeField and Description
private int
private boolean
private static final String[]

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
init(RuleBasedNumberFormat
the formatter that will be using this post-processor
formatter
,
String
the special rules for this post-procesor
rules
)

Implements com.ibm.icu.text.RBNFPostProcessor.init.

Initialization routine for this instance, called once immediately after first construction and never again.
public void
process(StringBuilder
the output of the main RBNF processing
buf
,
NFRuleSet
the rule set originally invoked to generate the output
ruleSet
)

Implements com.ibm.icu.text.RBNFPostProcessor.process.

Work routine.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

formatback to summary
private int format
longFormback to summary
private boolean longForm
rulesetNamesback to summary
private static final String[] rulesetNames

Constructor Detail

RBNFChinesePostProcessorback to summary
pack-priv RBNFChinesePostProcessor()

Method Detail

initback to summary
public void init(RuleBasedNumberFormat formatter, String rules)

Implements com.ibm.icu.text.RBNFPostProcessor.init.

Initialization routine for this instance, called once immediately after first construction and never again.

Parameters
formatter:RuleBasedNumberFormat

Doc from com.ibm.icu.text.RBNFPostProcessor.init.

the formatter that will be using this post-processor

rules:String

Doc from com.ibm.icu.text.RBNFPostProcessor.init.

the special rules for this post-procesor

processback to summary
public void process(StringBuilder buf, NFRuleSet ruleSet)

Implements com.ibm.icu.text.RBNFPostProcessor.process.

Work routine. Post process the output, which was generated by the ruleset with the given name.

Parameters
buf:StringBuilder

Doc from com.ibm.icu.text.RBNFPostProcessor.process.

the output of the main RBNF processing

ruleSet:NFRuleSet

Doc from com.ibm.icu.text.RBNFPostProcessor.process.

the rule set originally invoked to generate the output