private void ReadSylDetails() { // id_syl="1" name="mặt" start_index = "0" end_index="2850" position = "1" num_of_phone = "3" // energy="1023.4"> syllable = new Syllable(); syllable.setIDofSyllable(StrToInt(xMLStreamReader.getAttributeValue(0))); syllable.setSylName(xMLStreamReader.getAttributeValue(1)); syllable.setStartIndex(StrToInt(xMLStreamReader.getAttributeValue(2))); syllable.setEndIndex(StrToInt(xMLStreamReader.getAttributeValue(3))); // syllable.setSylPosition(StrToInt(xMLStreamReader.getAttributeValue(4))); syllable.setNumOfPhone(StrToInt(xMLStreamReader.getAttributeValue(4))); syllable.setEnergy(Float.parseFloat(xMLStreamReader.getAttributeValue(5))); }