private void readLeftSylDetails() { try { // <leftSyl tone="0" finalPhnm="NUL" leftPhnmType="NUL">NULL</leftSyl> syllable.setLeftTone(StrToInt(xMLStreamReader.getAttributeValue(0))); syllable.setLeftPhoneme(xMLStreamReader.getAttributeValue(1)); syllable.setLeftPhonemeType(xMLStreamReader.getAttributeValue(2)); syllable.setLeftSyl(xMLStreamReader.getElementText()); } catch (XMLStreamException ex) { Logger.getLogger(TextDBReader.class.getName()).log(Level.SEVERE, null, ex); } }