make/src/classes/build/tools/cldrconverter/AbstractLDMLHandler.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 120,129 **** --- 120,138 ---- currentContainer = new StringEntry(qName, currentContainer, key); } } /** + * start an element that defines an alias entry, with the value provided by the element's alias. + */ + void pushAliasEntry(String qName, Attributes attributes, String key) { + if (!pushIfIgnored(qName, attributes)) { + currentContainer = new AliasEntry(qName, currentContainer, key); + } + } + + /** * start an element that defines a string entry, with the value provided by an attribute value. */ void pushStringEntry(String qName, Attributes attributes, String key, String value) { if (!pushIfIgnored(qName, attributes)) { currentContainer = new StringEntry(qName, currentContainer, key, value);