Home
last modified time | relevance | path

Searched refs:XMLSource (Results 1 – 25 of 28) sorted by relevance

12

/external/cldr/tools/java/org/unicode/cldr/util/
DXMLSource.java41 public abstract class XMLSource implements Freezable<XMLSource>, Iterable<String> { class
99 public void putAll(XMLSource otherSource, int conflict_resolution) { in putAll()
182 public void valueChanged(String xpath, XMLSource source); in valueChanged()
620 public XMLSource getUnresolving() { in getUnresolving()
627 public XMLSource cloneAsThawed() { in cloneAsThawed()
629 XMLSource result = (XMLSource) super.clone(); in cloneAsThawed()
688 public static class ResolvingSource extends XMLSource implements Listener {
689 private XMLSource currentSource;
690 private LinkedHashMap<String, XMLSource> sources;
696 public XMLSource getUnresolving() { in getUnresolving()
[all …]
DFactory.java13 import org.unicode.cldr.util.XMLSource.ResolvingSource;
132 public static XMLSource makeResolvingSource(List<XMLSource> sources) { in makeResolvingSource()
143 public final XMLSource makeSource(String localeID) { in makeSource()
155 List<XMLSource> sourceList = new ArrayList<XMLSource>(); in makeResolvingSource()
166 XMLSource source = file.dataSource; in makeResolvingSource()
DSimpleXMLSource.java18 public class SimpleXMLSource extends XMLSource {
83 public XMLSource freeze() { in freeze()
88 public XMLSource cloneAsThawed() { in cloneAsThawed()
DCLDRFile.java44 import org.unicode.cldr.util.XMLSource.ResolvingSource;
131 XMLSource dataSource; // TODO(jchye): make private
181 public CLDRFile(XMLSource dataSource) { in CLDRFile()
186 public CLDRFile(XMLSource dataSource, XMLSource... resolvingParents) { in CLDRFile()
187 List<XMLSource> sourceList = new ArrayList<XMLSource>(); in CLDRFile()
194 …LDRFile loadFromFile(File f, String localeName, DraftStatus minimalDraftStatus, XMLSource source) { in loadFromFile()
231 …adFromFiles(List<File> dirs, String localeName, DraftStatus minimalDraftStatus, XMLSource source) { in loadFromFiles()
290 XMLSource source) { in load()
353 result.dataSource = (XMLSource) result.dataSource.cloneAsThawed(); in cloneAsThawed()
700 if (result == XMLSource.CODE_FALLBACK_ID && dataSource.isResolving()) { in getSourceLocaleID()
[all …]
DSimpleFactory.java588 XMLSource source = new SimpleXMLSource(localeName); in makeSupplemental()
648 XMLSource source = new SimpleXMLSource(localeName); in makeFile()
DAnnotations.java271 … if (sourceLocale.equals(XMLSource.CODE_FALLBACK_ID) || sourceLocale.equals(XMLSource.ROOT_ID)) { in getStringValue()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestCheckDisplayCollisions.java12 import org.unicode.cldr.util.XMLSource;
20 XMLSource rootSource = new SimpleXMLSource("root"); in testInheritance()
23 XMLSource enSource = new SimpleXMLSource("en"); in testInheritance()
26 XMLSource frSource = new SimpleXMLSource("fr"); in testInheritance()
31 XMLSource frCaSource = new SimpleXMLSource("fr_CA"); in testInheritance()
DTestXMLSource.java12 import org.unicode.cldr.util.XMLSource;
18 public static class DummyXMLSource extends XMLSource {
22 public XMLSource freeze() { in freeze()
75 XMLSource source = new DummyXMLSource(); in TestGetPathsWithValue()
DTestFactory.java13 import org.unicode.cldr.util.XMLSource;
19 XMLSource mySource = new SimpleXMLSource("root");
27 …org.unicode.cldr.util.XMLSource.ResolvingSource rs = makeResolvingSource(localeID, DraftStatus.unc… in addFile()
DTestCheckWidths.java14 import org.unicode.cldr.util.XMLSource;
23 XMLSource xmlSource = new DummyXMLSource(); in TestBasic()
DTestDateOrder.java10 import org.unicode.cldr.util.XMLSource;
21 XMLSource source = new SimpleXMLSource("xx"); in TestDateImportance()
DTestAliases.java18 import org.unicode.cldr.util.XMLSource;
37 if (!XMLSource.Alias.stripLastElement(pair[0]).equals(pair[1])) { in testAlias()
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckLogicalGroupings.java13 import org.unicode.cldr.util.XMLSource;
51 return !source.equals(XMLSource.ROOT_ID) && !source.equals(XMLSource.CODE_FALLBACK_ID); in isHereOrNonRoot()
DTestCache.java9 import org.unicode.cldr.util.XMLSource;
18 public abstract class TestCache implements XMLSource.Listener {
DSimpleTestCache.java14 import org.unicode.cldr.util.XMLSource;
42 public void valueChanged(String xpath, XMLSource source) { in valueChanged()
DCheckCoverage.java22 import org.unicode.cldr.util.XMLSource;
77 if (!source.equals(XMLSource.CODE_FALLBACK_ID) in handleCheck()
DCasingInfo.java30 import org.unicode.cldr.util.XMLSource;
205 XMLSource source = new SimpleXMLSource(localeID); in createCasingXml()
DCheckDisplayCollisions.java23 import org.unicode.cldr.util.XMLSource;
632 return locale.equals(XMLSource.CODE_FALLBACK_ID); in isCodeFallback()
DCheckForExemplars.java33 import org.unicode.cldr.util.XMLSource;
278 if (XMLSource.CODE_FALLBACK_ID.equals(sourceLocale)) { in handleCheck()
/external/cldr/tools/java/org/unicode/cldr/tool/
DCLDRFileTransformer.java18 import org.unicode.cldr.util.XMLSource;
163 XMLSource dataSource = new SimpleXMLSource(localeTransform.getOutputLocale()); in transform()
171 XMLSource outputSource = new SimpleXMLSource(localeTransform.toString()); in transform()
DCLDRFilePseudolocalizer.java16 import org.unicode.cldr.util.XMLSource;
375 XMLSource outputSource = new SimpleXMLSource(outputLocale); in generate()
402 private void addTerritory(XMLSource outputSource, String territory) { in addTerritory()
DGenerateChangeChart.java29 import org.unicode.cldr.util.XMLSource;
84 if (source.equals(XMLSource.CODE_FALLBACK_ID) in main()
85 || source.equals(XMLSource.ROOT_ID) in main()
DFilterFactory.java30 import org.unicode.cldr.util.XMLSource;
177 if (!sourceLocale.equals(XMLSource.CODE_FALLBACK_ID)) { in removeRedundantPaths()
DConvertXTB.java35 import org.unicode.cldr.util.XMLSource;
557 XMLSource altSource = new SimpleXMLSource(locale); in writeXml()
DCLDRModify.java62 import org.unicode.cldr.util.XMLSource;
632 … && (XMLSource.ROOT_ID.equals(localeId) || XMLSource.CODE_FALLBACK_ID.equals(localeId))) { in getRetention()
2104 …if (!sourceLocaleId.equals(XMLSource.ROOT_ID) && !sourceLocaleId.equals(XMLSource.CODE_FALLBACK_ID…

12