Uses of Class
com.ibm.icu.text.NFRuleSet
-
Packages that use NFRuleSet Package Description com.ibm.icu.text -
-
Uses of NFRuleSet in com.ibm.icu.text
Fields in com.ibm.icu.text declared as NFRuleSet Modifier and Type Field Description private NFRuleSet
RuleBasedNumberFormat. defaultRuleSet
A pointer to the formatter's default rule set.(package private) NFRuleSet
NFSubstitution. ruleSet
The rule set this substitution uses to format its result, or null.private NFRuleSet[]
RuleBasedNumberFormat. ruleSets
The formatter's rule sets.Fields in com.ibm.icu.text with type parameters of type NFRuleSet Modifier and Type Field Description private java.util.Map<java.lang.String,NFRuleSet>
RuleBasedNumberFormat. ruleSetsMap
The formatter's rule names mapped to rule sets.Methods in com.ibm.icu.text that return NFRuleSet Modifier and Type Method Description (package private) NFRuleSet
RuleBasedNumberFormat. findRuleSet(java.lang.String name)
Returns the named rule set.(package private) NFRuleSet
RuleBasedNumberFormat. getDefaultRuleSet()
Returns a reference to the formatter's default rule set.Methods in com.ibm.icu.text with parameters of type NFRuleSet Modifier and Type Method Description private NFSubstitution
NFRule. extractSubstitution(NFRuleSet owner, NFRule predecessor)
Searches the rule's rule text for the first substitution token, creates a substitution based on it, and removes the token from the rule's rule text.private void
NFRule. extractSubstitutions(NFRuleSet owner, java.lang.String ruleText, NFRule predecessor)
Searches the rule's rule text for the substitution tokens, creates the substitutions, and removes the substitution tokens from the rule's rule text.private java.lang.String
RuleBasedNumberFormat. format(double number, NFRuleSet ruleSet)
Bottleneck through which all the public format() methods that take a double pass.private java.lang.String
RuleBasedNumberFormat. format(long number, NFRuleSet ruleSet)
Bottleneck through which all the public format() methods that take a long pass.static void
NFRule. makeRules(java.lang.String description, NFRuleSet owner, NFRule predecessor, RuleBasedNumberFormat ownersOwner, java.util.List<NFRule> returnList)
Creates one or more rules based on the description passed in.static NFSubstitution
NFSubstitution. makeSubstitution(int pos, NFRule rule, NFRule rulePredecessor, NFRuleSet ruleSet, RuleBasedNumberFormat formatter, java.lang.String description)
Parses the description, creates the right kind of substitution, and initializes it based on the description.private void
RuleBasedNumberFormat. postProcess(java.lang.StringBuilder result, NFRuleSet ruleSet)
Post-process the rules if we have a post-processor.void
RBNFChinesePostProcessor. process(java.lang.StringBuilder buf, NFRuleSet ruleSet)
Work routine.void
RBNFPostProcessor. process(java.lang.StringBuilder output, NFRuleSet ruleSet)
Work routine.Constructors in com.ibm.icu.text with parameters of type NFRuleSet Constructor Description AbsoluteValueSubstitution(int pos, NFRuleSet ruleSet, java.lang.String description)
Constructs an AbsoluteValueSubstitution.FractionalPartSubstitution(int pos, NFRuleSet ruleSet, java.lang.String description)
Constructs a FractionalPartSubstitution.IntegralPartSubstitution(int pos, NFRuleSet ruleSet, java.lang.String description)
Constructs an IntegralPartSubstitution.ModulusSubstitution(int pos, NFRule rule, NFRule rulePredecessor, NFRuleSet ruleSet, java.lang.String description)
Constructs a ModulusSubstitution.MultiplierSubstitution(int pos, NFRule rule, NFRuleSet ruleSet, java.lang.String description)
Constructs a MultiplierSubstitution.NFSubstitution(int pos, NFRuleSet ruleSet, java.lang.String description)
Base constructor for substitutions.NumeratorSubstitution(int pos, double denominator, NFRuleSet ruleSet, java.lang.String description)
Constructs a NumeratorSubstitution.SameValueSubstitution(int pos, NFRuleSet ruleSet, java.lang.String description)
Constructs a SameValueSubstution.
-