Uses of Class
com.ibm.icu.text.NFRuleSet
Packages that use NFRuleSet
-
Uses of NFRuleSet in com.ibm.icu.text
Fields in com.ibm.icu.text declared as NFRuleSetModifier and TypeFieldDescriptionprivate NFRuleSet
RuleBasedNumberFormat.defaultRuleSet
A pointer to the formatter's default rule set.(package private) final 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 NFRuleSetModifier and TypeFieldDescriptionRuleBasedNumberFormat.ruleSetsMap
The formatter's rule names mapped to rule sets.Methods in com.ibm.icu.text that return NFRuleSetModifier and TypeMethodDescription(package private) NFRuleSet
RuleBasedNumberFormat.findRuleSet
(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 NFRuleSetModifier and TypeMethodDescriptionprivate 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, 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 String
Bottleneck through which all the public format() methods that take a double pass.private String
Bottleneck through which all the public format() methods that take a long pass.static void
NFRule.makeRules
(String description, NFRuleSet owner, NFRule predecessor, RuleBasedNumberFormat ownersOwner, 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, String description) Parses the description, creates the right kind of substitution, and initializes it based on the description.private void
RuleBasedNumberFormat.postProcess
(StringBuilder result, NFRuleSet ruleSet) Post-process the rules if we have a post-processor.void
RBNFChinesePostProcessor.process
(StringBuilder buf, NFRuleSet ruleSet) Work routine.void
RBNFPostProcessor.process
(StringBuilder output, NFRuleSet ruleSet) Work routine.Constructors in com.ibm.icu.text with parameters of type NFRuleSetModifierConstructorDescription(package private)
AbsoluteValueSubstitution
(int pos, NFRuleSet ruleSet, String description) Constructs an AbsoluteValueSubstitution.(package private)
FractionalPartSubstitution
(int pos, NFRuleSet ruleSet, String description) Constructs a FractionalPartSubstitution.(package private)
IntegralPartSubstitution
(int pos, NFRuleSet ruleSet, String description) Constructs an IntegralPartSubstitution.(package private)
ModulusSubstitution
(int pos, NFRule rule, NFRule rulePredecessor, NFRuleSet ruleSet, String description) Constructs a ModulusSubstitution.(package private)
MultiplierSubstitution
(int pos, NFRule rule, NFRuleSet ruleSet, String description) Constructs a MultiplierSubstitution.(package private)
NFSubstitution
(int pos, NFRuleSet ruleSet, String description) Base constructor for substitutions.(package private)
NumeratorSubstitution
(int pos, double denominator, NFRuleSet ruleSet, String description) Constructs a NumeratorSubstitution.(package private)
SameValueSubstitution
(int pos, NFRuleSet ruleSet, String description) Constructs a SameValueSubstution.