Home
last modified time | relevance | path

Searched refs:valueFrom (Results 1 – 10 of 10) sorted by relevance

/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/mapper/
DRbnfMapper.java81 this.rbPath = RB_ROOT.extendBy(GROUPING_TYPE.valueFrom(prefix)); in Ruleset()
82 this.rulesetType = RULESET_TYPE.valueFrom(prefix); in Ruleset()
91 boolean isPrivate = RULESET_ACCESS.valueFrom(value, "public").equals("private"); in addRule()
97 ? RBNF_VALUE.valueFrom(value) in addRule()
DPluralRangesMapper.java84 RANGE_START.valueFrom(value, "all"), in visitRange()
85 RANGE_END.valueFrom(value, "all"), in visitRange()
86 RANGE_RESULT.valueFrom(value))); in visitRange()
DBcp47Mapper.java138 this.keyName = Ascii.toLowerCase(KEY_NAME.valueFrom(prefix)); in ValueCollector()
143 String typeName = TYPE_NAME.valueFrom(value); in collect()
163 String keyAlias = toLowerCase(KEY_ALIAS.valueFrom(value, keyName)); in collect()
DBreakIteratorMapper.java79 String type = SEGMENTATION_TYPE.valueFrom(v); in addSuppression()
92 DICTIONARY_TYPE.valueFrom(v), in addDictionary()
DPluralsMapper.java90 this.icuPrefix = ICU_PREFIX_MAP.get(PLURALS_TYPE.valueFrom(prefix, "cardinal")); in Plurals()
129 map.put(RULE_COUNT.valueFrom(value), value.getValue()); in addRule()
DCollationMapper.java98 String type = COLLATION_TYPE.valueFrom(v); in collectRule()
143 icuData.add(rbPath, key.valueFrom(value)); in maybeAddSpecial()
DTransformsMapper.java150 Visibility visibility = TRANSFORM_VISIBILITY.valueFrom(value, Visibility.class); in writeRootIndexEntry()
153 Direction dir = TRANSFORM_DIRECTION.valueFrom(value, Direction.class); in writeRootIndexEntry()
DDayPeriodsMapper.java81 RbPath prefix = RbPath.of("rules", "set" + setNum, RULE_TYPE.valueFrom(value)); in visitRule()
/external/cldr/tools/java/org/unicode/cldr/api/
DAttributeKey.java135 public String valueFrom(AttributeSupplier src) { in valueFrom() method in AttributeKey
168 public String valueFrom(AttributeSupplier src, String defaultValue) { in valueFrom() method in AttributeKey
222 public <T extends Enum<T>> T valueFrom(AttributeSupplier src, Class<T> enumType) { in valueFrom() method in AttributeKey
223 return Enum.valueOf(enumType, valueFrom(src)); in valueFrom()
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
DSupplementalData.java124 alias.typeKey.valueFrom(v), in create()
125 alias.replacementKey.valueFrom(v))); in create()
127 String p = PARENT.valueFrom(v); in create()
133 likelySubtagMap.put(SUBTAG_FROM.valueFrom(v), SUBTAG_TO.valueFrom(v)); in create()