/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | ReadXMB.java | 8 import org.unicode.cldr.util.XMLFileReader; 27 XMLFileReader xfr = new XMLFileReader().setHandler(simpleHandler); in load() 28 xfr.read(directory + "/" + file, XMLFileReader.CONTENT_HANDLER | XMLFileReader.ERROR_HANDLER in load() 29 | XMLFileReader.LEXICAL_HANDLER, true); in load() 34 private static class CasingHandler extends XMLFileReader.SimpleHandler {
|
D | CompareHanTransliterators.java | 8 import org.unicode.cldr.util.XMLFileReader; 9 import org.unicode.cldr.util.XMLFileReader.SimpleHandler; 19 XMLFileReader reader = new XMLFileReader(); in main() 23 XMLFileReader.CONTENT_HANDLER, false); in main() 29 XMLFileReader.CONTENT_HANDLER, false); in main()
|
D | ExtractMessages.java | 24 import org.unicode.cldr.util.XMLFileReader; 64 XMLFileReader xfr = new XMLFileReader().setHandler(new EnglishHandler()); in main() 65 xfr.read(src + "/en.xmb", XMLFileReader.CONTENT_HANDLER in main() 66 | XMLFileReader.ERROR_HANDLER, false); in main() 95 xfr = new XMLFileReader().setHandler(otherHandler); in main() 97 xfr.read(canonicalFile, XMLFileReader.CONTENT_HANDLER in main() 98 | XMLFileReader.ERROR_HANDLER, false); in main() 167 private static class EnglishHandler extends XMLFileReader.SimpleHandler { 197 private static class OtherHandler extends XMLFileReader.SimpleHandler {
|
D | GenerateTransform.java | 16 import org.unicode.cldr.util.XMLFileReader; 287 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in transformFromCldrFile() 288 xfr.read(TRANSFORM_DIRECTORY + transformName + ".xml", XMLFileReader.CONTENT_HANDLER in transformFromCldrFile() 289 | XMLFileReader.ERROR_HANDLER, false); in transformFromCldrFile() 295 static class MyHandler extends XMLFileReader.SimpleHandler {
|
D | SearchXml.java | 23 import org.unicode.cldr.util.XMLFileReader; 254 XMLFileReader xfr = new XMLFileReader().setHandler(listHandler); in getXmlFileAsRelation() 257 xfr.read(fileName2, XMLFileReader.CONTENT_HANDLER in getXmlFileAsRelation() 258 | XMLFileReader.ERROR_HANDLER, false); in getXmlFileAsRelation() 269 static class ListHandler extends XMLFileReader.SimpleHandler {
|
D | RemoveEmptyCLDR.java | 14 import org.unicode.cldr.util.XMLFileReader; 36 XMLFileReader.loadPathValues(canonicalPath, data, false); in main()
|
D | SubdivisionNames.java | 14 import org.unicode.cldr.util.XMLFileReader; 30 XMLFileReader.loadPathValues(CLDRPaths.COMMON_DIRECTORY + "subdivisions/" in SubdivisionNames()
|
D | XMLModify.java | 16 import org.unicode.cldr.util.XMLFileReader; 77 for (Pair<String, String> pathValue : XMLFileReader.loadPathValues( in main()
|
D | ConvertXTB.java | 34 import org.unicode.cldr.util.XMLFileReader; 345 private class WsbHandler extends XMLFileReader.SimpleHandler { 429 XMLReader xmlReader = XMLFileReader.createXMLReader(false); in load() 460 XMLFileReader xfr = new XMLFileReader().setHandler(handler); in loadOldMessages()
|
D | VerifyAttributeValues.java | 29 import org.unicode.cldr.util.XMLFileReader; 30 import org.unicode.cldr.util.XMLFileReader.SimpleHandler; 80 new XMLFileReader() in check()
|
D | GenerateItemCounts.java | 38 import org.unicode.cldr.util.XMLFileReader; 39 import org.unicode.cldr.util.XMLFileReader.SimpleHandler; 702 XMLFileReader reader = new XMLFileReader().setHandler(myHandler); in check() 703 reader.read(systemID, XMLFileReader.CONTENT_HANDLER, true); in check() 735 System.out.println("\nerror: " + XMLFileReader.showSAX(exception)); in error() 740 System.out.println("\nfatalError: " + XMLFileReader.showSAX(exception)); in fatalError() 745 System.out.println("\nwarning: " + XMLFileReader.showSAX(exception)); in warning()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | XMLFileReader.java | 43 public class XMLFileReader { class 73 public XMLFileReader setHandler(SimpleHandler simpleHandler) { in setHandler() 90 public XMLFileReader read(String fileName, int handlers, boolean validating) { in read() 108 public XMLFileReader read(String fileName, InputStream fis, int handlers, boolean validating) { in read() 121 public XMLFileReader readCLDRResource(String resName, int handlers, boolean validating) { in readCLDRResource() 135 …public XMLFileReader read(String resName, Class<?> callingClass, int handlers, boolean validating)… in read() 140 public XMLFileReader read(String systemID, Reader reader, int handlers, boolean validating) { in read() 461 new XMLFileReader() in loadPathValues()
|
D | VoteResolver.java | 1438 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in setVoterToInfo() 1439 xfr.read(fileName, XMLFileReader.CONTENT_HANDLER | XMLFileReader.ERROR_HANDLER, false); in setVoterToInfo() 1486 static class MyHandler extends XMLFileReader.SimpleHandler { 1554 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in getIdToPath() 1555 xfr.read(fileName, XMLFileReader.CONTENT_HANDLER | XMLFileReader.ERROR_HANDLER, false); in getIdToPath() 1559 static class XPathTableHandler extends XMLFileReader.SimpleHandler { 1577 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in getBaseToAlternateToInfo() 1578 xfr.read(fileName, XMLFileReader.CONTENT_HANDLER | XMLFileReader.ERROR_HANDLER, false); in getBaseToAlternateToInfo() 1630 static class VotesHandler extends XMLFileReader.SimpleHandler {
|
D | IsoCurrencyParser.java | 173 XMLFileReader xfr = new XMLFileReader().setHandler(isoCurrentHandler); in IsoCurrencyParser() 209 public class ISOCurrencyHandler extends XMLFileReader.SimpleHandler {
|
D | TestUtilities.java | 402 XMLFileReader xfr = new XMLFileReader().setHandler(new MyHandler()); in writeMetaData() 403 xfr.read(CLDRPaths.GEN_DIRECTORY + "meta/metaData.xml", XMLFileReader.CONTENT_HANDLER in writeMetaData() 404 | XMLFileReader.ERROR_HANDLER, false); in writeMetaData() 408 XMLFileReader xfr = new XMLFileReader().setHandler(new MyHandler()); in testXMLFileReader() 412 static class MyHandler extends XMLFileReader.SimpleHandler {
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestBcp47Transforms.java | 24 import org.unicode.cldr.util.XMLFileReader; 229 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in getIcuRulesFromXmlFile() 230 xfr.read(dir + cldrFileName, XMLFileReader.CONTENT_HANDLER in getIcuRulesFromXmlFile() 231 | XMLFileReader.ERROR_HANDLER, true); in getIcuRulesFromXmlFile()
|
D | TestPathsModule.java | 21 import org.unicode.cldr.util.XMLFileReader; 22 import org.unicode.cldr.util.XMLFileReader.SimpleHandler; 74 XMLFileReader reader = new XMLFileReader() in TestMain() 76 reader.read(fullFileName, XMLFileReader.CONTENT_HANDLER, true); in TestMain()
|
D | TestCLDRUtils.java | 26 import org.unicode.cldr.util.XMLFileReader; 156 XMLFileReader myReader = new XMLFileReader(); in oldTestCLDRLocaleDataDriven() 163 myReader.setHandler(new XMLFileReader.SimpleHandler() { in oldTestCLDRLocaleDataDriven()
|
D | TestCldrFileWrite.java | 17 import org.unicode.cldr.util.XMLFileReader; 96 Multiset<Pair<String, String>> cldrPaths = HashMultiset.create(XMLFileReader.loadPathValues( in checkCompareXmlFiles() 98 … Multiset<Pair<String, String>> rewritePaths = HashMultiset.create(XMLFileReader.loadPathValues( in checkCompareXmlFiles()
|
D | TestSubdivisions.java | 24 import org.unicode.cldr.util.XMLFileReader; 78 XMLFileReader.loadPathValues(SUB_DIR + file, data, true); in checkSubdivisionFile()
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | TestMetadata.java | 17 import org.unicode.cldr.util.XMLFileReader; 133 …XMLFileReader xfr = new XMLFileReader().setHandler(new MyHandler(elements, attributes, elementOrde… in getElementsAndAttributes() 232 static class MyHandler extends XMLFileReader.SimpleHandler {
|
D | CasingInfo.java | 29 import org.unicode.cldr.util.XMLFileReader; 109 XMLFileReader xfr = new XMLFileReader().setHandler(handler); in loadFromXml() 247 private class CasingHandler extends XMLFileReader.SimpleHandler {
|
D | QuickCheck.java | 32 import org.unicode.cldr.util.XMLFileReader; 135 System.out.println("\nerror: " + XMLFileReader.showSAX(exception)); in error() 140 System.out.println("\nfatalError: " + XMLFileReader.showSAX(exception)); in fatalError() 145 System.out.println("\nwarning: " + XMLFileReader.showSAX(exception)); in warning() 153 XMLReader xmlReader = XMLFileReader.createXMLReader(true); in check()
|
/external/cldr/tools/java/org/unicode/cldr/icu/ |
D | MapperUtils.java | 15 import org.unicode.cldr.util.XMLFileReader; 39 XMLReader xmlReader = XMLFileReader.createXMLReader(true); in parseFile()
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | Keyboard.java | 21 import org.unicode.cldr.util.XMLFileReader; 22 import org.unicode.cldr.util.XMLFileReader.SimpleHandler; 139 new XMLFileReader() in getPlatform() 181 new XMLFileReader() in getKeyboard() 194 new XMLFileReader() in getKeyboard()
|