Create an xml-document candies.xml, with a root element that will contain several candies with characteristics. Using the StAX parser, get the Candy collection from the xml file.
Создать xml-документ candies.xml, с корневым элементом , который будет в себе содержать несколько конфет с характеристиками. Используя StAX-парсер получить коллекцию Candy из xml-файла.