Package com.ibm.icu.impl.number
Class LongNameHandler.DerivedComponents
java.lang.Object
com.ibm.icu.impl.number.LongNameHandler.DerivedComponents
- Enclosing class:
- LongNameHandler
Loads and applies deriveComponent rules from CLDR's
grammaticalFeatures.xml.
Consider a deriveComponent rule that looks like this:
<deriveComponent feature="case" structure="per" value0="compound" value1="nominative"/>Instantiating an instance as follows:
DerivedComponents d(loc, "case", "per");
Applying the rule in the XML element above, d.value0("foo")
will be "foo", and d.value1("foo")
will be "nominative".
In case of any kind of failure, value0() and value1() will simply return "".
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDerivedComponents
(ULocale locale, String feature, String structure) Constructor. -
Method Summary
-
Field Details
-
value0
-
value1
-
-
Constructor Details
-
DerivedComponents
Constructor.
-
-
Method Details
-
value0
-
value1
-