< prev index next >
make/jdk/src/classes/build/tools/cldrconverter/AbstractLDMLHandler.java
Print this page
*** 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
--- 1,7 ----
/*
! * Copyright (c) 2012, 2018, 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
*** 149,158 ****
--- 149,171 ----
if (!pushIfIgnored(qName, attributes)) {
currentContainer = new StringArrayElement(qName, currentContainer, index);
}
}
+ void pushStringListEntry(String qName, Attributes attributes, String key) {
+ if (!pushIfIgnored(qName, attributes)) {
+ currentContainer = new StringListEntry(qName, currentContainer, key);
+ }
+ }
+
+ void pushStringListElement(String qName, Attributes attributes, int index) {
+ if (!pushIfIgnored(qName, attributes)) {
+ currentContainer = new StringListElement(qName, currentContainer, index);
+ }
+ }
+
+
private boolean pushIfIgnored(String qName, Attributes attributes) {
if (isIgnored(attributes) || currentContainer instanceof IgnoredContainer) {
pushIgnoredContainer(qName);
return true;
}
< prev index next >