Home
last modified time | relevance | path

Searched refs:ValueStatus (Results 1 – 4 of 4) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/util/
DPathChecker.java7 import org.unicode.cldr.util.DtdData.ValueStatus;
18 …private static Map<DtdType, Map<String,Map<String,Map<String,ValueStatus>>>> seenEAV = new Concurr…
32 public boolean checkPath(String path, Map<Row.R3<String,String,String>, ValueStatus> errors) { in checkPath()
40 …public boolean checkPath(XPathParts parts, Map<Row.R3<String, String, String>, ValueStatus> errors… in checkPath()
63 …element, String attribute, String attrValue, Map<R3<String, String, String>, ValueStatus> errors) { in checkAttribute()
66 …Map<String, Map<String, Map<String, ValueStatus>>> elementToAttrToAttrValueToStatus = seenEAV.get(… in checkAttribute()
68 …Map<String, Map<String, Map<String, ValueStatus>>> subAlready = seenEAV.putIfAbsent(dtdData.dtdTyp… in checkAttribute()
73 …Map<String, Map<String, ValueStatus>> attrToAttrValueToStatus = elementToAttrToAttrValueToStatus.g… in checkAttribute()
75 …Map<String, Map<String, ValueStatus>> subAlready = elementToAttrToAttrValueToStatus.putIfAbsent(el… in checkAttribute()
80 Map<String, ValueStatus> attrValueToStatus = attrToAttrValueToStatus.get(attribute); in checkAttribute()
[all …]
DDtdData.java309 public ValueStatus getValueStatus(String value) { in getValueStatus()
310 return deprecatedValues.contains(value) ? ValueStatus.invalid in getValueStatus()
311 …tributeType.ENUMERATED_TYPE ? (values.containsKey(value) ? ValueStatus.valid : ValueStatus.inval… in getValueStatus()
312 : matchValue == null ? ValueStatus.unknown in getValueStatus()
313 : matchValue.is(value) ? ValueStatus.valid in getValueStatus()
314 : ValueStatus.invalid; in getValueStatus()
334 public enum ValueStatus {invalid, unknown, valid} enum in DtdData
1697 public ValueStatus getValueStatus(String elementName, String attributeName, String value) { in getValueStatus()
1700 return ValueStatus.invalid; in getValueStatus()
1704 return ValueStatus.invalid; in getValueStatus()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestAttributeValues.java42 import org.unicode.cldr.util.DtdData.ValueStatus;
89 …ImmutableSet<ValueStatus> showStatuses = null ; // ImmutableSet.of(ValueStatus.invalid, ValueStatu… in TestValid()
218 private final ChainedMap.M5<ValueStatus, String, String, String, Boolean> valueStatusInfo
291 ValueStatus valueStatus = dtdData.getValueStatus(element, attribute, attrValue); in checkAttribute()
292 if (valueStatus != ValueStatus.valid) { in checkAttribute()
301 void show(boolean verbose, ImmutableSet<ValueStatus> retain) { in show()
306 for (ValueStatus valueStatus : ValueStatus.values()) { in show()
307 if (valueStatus == ValueStatus.valid) { in show()
328 … for (Entry<ValueStatus, Map<String, Map<String, Map<String, Boolean>>>> entry : valueStatusInfo) { in show()
329 ValueStatus valueStatus = entry.getKey(); in show()
[all …]
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckCLDR.java195 ValueStatus valueStatus = getValueStatus(winner, ValueStatus.NONE, null); in getShowRowAction()
199 …eInfo.getLocale().toString(), pathValueInfo.getXpath(), valueStatus == ValueStatus.ERROR, pathValu… in getShowRowAction()
213 if (valueStatus != ValueStatus.NONE) { in getShowRowAction()
264ValueStatus valueStatus = getValueStatus(enteredValue, ValueStatus.NONE, CheckStatus.crossCheckSub… in getAcceptNewItemAction()
265 if (valueStatus == ValueStatus.ERROR) { in getAcceptNewItemAction()
275 valueStatus = ValueStatus.NONE; in getAcceptNewItemAction()
284 if (valueStatus != ValueStatus.NONE) { in getAcceptNewItemAction()
294 public enum ValueStatus { enum in CheckCLDR.Phase
298 …public ValueStatus getValueStatus(CandidateInfo value, ValueStatus previous, Set<Subtype> changeEr… in getValueStatus()
299 if (previous == ValueStatus.ERROR || value == null) { in getValueStatus()
[all …]