- /* Process each quark */
- XmlEntry currentEntry = parentEntry;
- Element displayElement = null;
- Map<String, XmlEntry> entryMap = new HashMap<>();
- if (!displayElements.isEmpty()) {
- displayElement = displayElements.get(0);
- }
- for (int quark : quarks) {
- currentEntry = parentEntry;
- /* Process the current entry, if specified */
- if (displayElement != null) {
- currentEntry = processEntry(entryElement, displayElement, parentEntry, quark, ss);
- entryMap.put(currentEntry.getId(), currentEntry);
- }
- /* Process the children entry of this entry */
- for (Element subEntryEl : entryElements) {
- buildEntry(subEntryEl, currentEntry, quark);
- }
+ /* Process each quark */
+ XmlEntry currentEntry = parentEntry;
+ Element displayElement = null;
+ Map<String, XmlEntry> entryMap = new HashMap<>();
+ if (!displayElements.isEmpty()) {
+ displayElement = displayElements.get(0);
+ }
+ for (int quark : quarks) {
+ currentEntry = parentEntry;
+ /* Process the current entry, if specified */
+ if (displayElement != null) {
+ currentEntry = processEntry(entryElement, displayElement, parentEntry, quark, ss);
+ entryMap.put(currentEntry.getId(), currentEntry);