/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 | 25 import org.unicode.cldr.util.XMLFileReader; 65 XMLFileReader xfr = new XMLFileReader().setHandler(new EnglishHandler()); in main() 66 xfr.read(src + "/en.xmb", XMLFileReader.CONTENT_HANDLER in main() 67 | XMLFileReader.ERROR_HANDLER, false); in main() 96 xfr = new XMLFileReader().setHandler(otherHandler); in main() 98 xfr.read(canonicalFile, XMLFileReader.CONTENT_HANDLER in main() 99 | XMLFileReader.ERROR_HANDLER, false); in main() 168 private static class EnglishHandler extends XMLFileReader.SimpleHandler { 199 private static class OtherHandler extends XMLFileReader.SimpleHandler {
|
D | GenerateTransform.java | 16 import org.unicode.cldr.util.XMLFileReader; 288 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in transformFromCldrFile() 289 xfr.read(TRANSFORM_DIRECTORY + transformName + ".xml", XMLFileReader.CONTENT_HANDLER in transformFromCldrFile() 290 | XMLFileReader.ERROR_HANDLER, false); in transformFromCldrFile() 296 static class MyHandler extends XMLFileReader.SimpleHandler {
|
D | SearchXml.java | 24 import org.unicode.cldr.util.XMLFileReader; 256 XMLFileReader xfr = new XMLFileReader().setHandler(listHandler); in getXmlFileAsRelation() 259 xfr.read(fileName2, XMLFileReader.CONTENT_HANDLER in getXmlFileAsRelation() 260 | XMLFileReader.ERROR_HANDLER, false); in getXmlFileAsRelation() 271 static class ListHandler extends XMLFileReader.SimpleHandler {
|
D | RemoveEmptyCLDR.java | 16 import org.unicode.cldr.util.XMLFileReader; 49 XMLFileReader.loadPathValues(normalizedPath, data, false); in main()
|
D | XMLModify.java | 16 import org.unicode.cldr.util.XMLFileReader; 80 for (Pair<String, String> pathValue : XMLFileReader.loadPathValues( in main()
|
D | VerifyAttributeValues.java | 29 import org.unicode.cldr.util.XMLFileReader; 30 import org.unicode.cldr.util.XMLFileReader.SimpleHandler; 80 new XMLFileReader() in check()
|
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 | SubdivisionNames.java | 20 import org.unicode.cldr.util.XMLFileReader; 62 XMLFileReader.loadPathValues(CLDRPaths.COMMON_DIRECTORY + dir + "/" in addSubdivisionNames()
|
D | GenerateItemCounts.java | 39 import org.unicode.cldr.util.XMLFileReader; 40 import org.unicode.cldr.util.XMLFileReader.SimpleHandler; 699 XMLFileReader reader = new XMLFileReader().setHandler(myHandler); in check() 700 reader.read(systemID, XMLFileReader.CONTENT_HANDLER, true); in check() 733 System.out.println("\nerror: " + XMLFileReader.showSAX(exception)); in error() 739 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 | 45 public class XMLFileReader { class 77 public XMLFileReader setHandler(SimpleHandler simpleHandler) { in setHandler() 93 public XMLFileReader read(String fileName, int handlers, boolean validating) { in read() 111 public XMLFileReader read(String fileName, InputStream fis, int handlers, boolean validating) { in read() 128 public XMLFileReader readCLDRResource(String resName, int handlers, boolean validating) { in readCLDRResource() 145 …public XMLFileReader read(String resName, Class<?> callingClass, int handlers, boolean validating)… in read() 153 public XMLFileReader read(String systemID, Reader reader, int handlers, boolean validating) { in read() 551 new XMLFileReader() in loadPathValues() 562 new XMLFileReader() in processPathValues()
|
D | VoteResolver.java | 1532 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in setVoterToInfo() 1533 xfr.read(fileName, XMLFileReader.CONTENT_HANDLER | XMLFileReader.ERROR_HANDLER, false); in setVoterToInfo() 1580 static class MyHandler extends XMLFileReader.SimpleHandler { 1649 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in getIdToPath() 1650 xfr.read(fileName, XMLFileReader.CONTENT_HANDLER | XMLFileReader.ERROR_HANDLER, false); in getIdToPath() 1654 static class XPathTableHandler extends XMLFileReader.SimpleHandler { 1673 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in getBaseToAlternateToInfo() 1674 xfr.read(fileName, XMLFileReader.CONTENT_HANDLER | XMLFileReader.ERROR_HANDLER, false); in getBaseToAlternateToInfo() 1727 static class VotesHandler extends XMLFileReader.SimpleHandler {
|
D | IsoCurrencyParser.java | 175 XMLFileReader xfr = new XMLFileReader().setHandler(isoCurrentHandler); in IsoCurrencyParser() 211 public class ISOCurrencyHandler extends XMLFileReader.SimpleHandler {
|
D | TestUtilities.java | 403 XMLFileReader xfr = new XMLFileReader().setHandler(new MyHandler()); in writeMetaData() 404 xfr.read(CLDRPaths.GEN_DIRECTORY + "meta/metaData.xml", XMLFileReader.CONTENT_HANDLER in writeMetaData() 405 | XMLFileReader.ERROR_HANDLER, false); in writeMetaData() 409 XMLFileReader xfr = new XMLFileReader().setHandler(new MyHandler()); in testXMLFileReader() 413 static class MyHandler extends XMLFileReader.SimpleHandler {
|
D | XMLNormalizingLoader.java | 22 import org.unicode.cldr.util.XMLFileReader.AllHandler; 161 XMLFileReader.read(fullFileName, reader, -1, true, XML_HANDLER); in loadXMLFile() 652 Log.logln(LOG_PROGRESS || true, "error: " + XMLFileReader.showSAX(exception)); in error() 663 Log.logln(LOG_PROGRESS, "fatalError: " + XMLFileReader.showSAX(exception)); in fatalError() 674 Log.logln(LOG_PROGRESS, "warning: " + XMLFileReader.showSAX(exception)); in warning()
|
/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 | 22 import org.unicode.cldr.util.XMLFileReader; 23 import org.unicode.cldr.util.XMLFileReader.SimpleHandler; 75 XMLFileReader reader = new XMLFileReader() in TestMain() 77 reader.read(fullFileName, XMLFileReader.CONTENT_HANDLER, true); in TestMain()
|
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()
|
D | TestBasic.java | 57 import org.unicode.cldr.util.XMLFileReader; 324 errln("error: " + XMLFileReader.showSAX(exception)); in error() 330 errln("fatalError: " + XMLFileReader.showSAX(exception)); in fatalError() 336 errln("warning: " + XMLFileReader.showSAX(exception)); in warning() 350 XMLReader xmlReader = XMLFileReader.createXMLReader(true); in check() 1437 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in checkDtdComparatorForResource() 1460 XMLFileReader xfr = new XMLFileReader().setHandler(myHandler); in checkDtdComparatorFor() 1481 static class MyHandler extends XMLFileReader.SimpleHandler {
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | TestMetadata.java | 17 import org.unicode.cldr.util.XMLFileReader; 132 …XMLFileReader xfr = new XMLFileReader().setHandler(new MyHandler(elements, attributes, elementOrde… in getElementsAndAttributes() 231 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 | 33 import org.unicode.cldr.util.XMLFileReader; 137 System.out.println("\nerror: " + XMLFileReader.showSAX(exception)); in error() 143 System.out.println("\nfatalError: " + XMLFileReader.showSAX(exception)); in fatalError() 149 System.out.println("\nwarning: " + XMLFileReader.showSAX(exception)); in warning() 157 XMLReader xmlReader = XMLFileReader.createXMLReader(true); in check()
|
/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()
|