Package com.ibm.icu.impl.number
Class LongNameHandler.InflectedPluralSink
- java.lang.Object
-
- com.ibm.icu.impl.UResource.Sink
-
- com.ibm.icu.impl.number.LongNameHandler.InflectedPluralSink
-
- Enclosing class:
- LongNameHandler
private static final class LongNameHandler.InflectedPluralSink extends UResource.Sink
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.String
caseVariant
(package private) java.lang.String
gender
(package private) java.lang.String[]
outArray
-
Constructor Summary
Constructors Constructor Description InflectedPluralSink(java.lang.String gender, java.lang.String caseVariant, java.lang.String[] outArray)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private boolean
loadForCase(UResource.Table caseTable, java.lang.String caseValue, UResource.Value value)
private boolean
loadForGender(UResource.Table genderTable, java.lang.String genderVal, UResource.Value value)
private boolean
loadForPluralForm(UResource.Table genderTable, UResource.Value value)
void
put(UResource.Key key, UResource.Value value, boolean noFallback)
Called once for each bundle (child-parent-...-root).
-
-
-
Method Detail
-
put
public void put(UResource.Key key, UResource.Value value, boolean noFallback)
Description copied from class:UResource.Sink
Called once for each bundle (child-parent-...-root). The value is normally an array or table resource, and implementations of this method normally iterate over the tree of resource items stored there.- Specified by:
put
in classUResource.Sink
- Parameters:
key
- Initially the key string of the enumeration-start resource. Empty if the enumeration starts at the top level of the bundle. Reuse for output values from Array and Table getters.value
- Call getArray() or getTable() as appropriate. Then reuse for output values from Array and Table getters.noFallback
- true if the bundle has no parent; that is, its top-level table has the nofallback attribute, or it is the root bundle of a locale tree.
-
loadForPluralForm
private boolean loadForPluralForm(UResource.Table genderTable, UResource.Value value)
-
loadForGender
private boolean loadForGender(UResource.Table genderTable, java.lang.String genderVal, UResource.Value value)
-
loadForCase
private boolean loadForCase(UResource.Table caseTable, java.lang.String caseValue, UResource.Value value)
-
-