throw new ParserException("Reached end of xml document unexpectedly");
}
private Icon parseIcon(XMLStreamReader reader) throws XMLStreamException, ParserException
{
Path largeIcon = null;
Path smallIcon = null;
//getting attributes
String id = reader.getAttributeValue(null, Icon.Attribute.ID.getLocalName());
String lang = reader.getAttributeValue(null, Icon.Attribute.ID.getLocalName());