@Override
    public void getDatas() throws IOException, SAXException, ParserConfigurationException {
        try {
            XMLInputFactory inputFactory = XMLInputFactory.newInstance();
            InputStream input = new FileInputStream("src/main/resources/xsd-xml/Delivery.xml");
            XMLStreamReader streamReader = inputFactory.createXMLStreamReader(input);
            while (streamReader.hasNext()) {
                int type = streamReader.next();
                switch (type) {
                    case XMLStreamConstants.START_DOCUMENT:
                        startDocument();
                        break;
                    case XMLStreamConstants.START_ELEMENT:
                        startElement(streamReader);
                        break;
                    case XMLStreamConstants.CHARACTERS:
                        characters(streamReader);
                        break;
                    case XMLStreamConstants.END_ELEMENT:
                        break;
                    case XMLStreamConstants.END_DOCUMENT:
                        endDocument();
                        break;
                }

            }
        } catch (IOException exception) {
            System.out.println(exception.getMessage());
        } catch (XMLStreamException exception) {
            System.out.println(exception.getMessage());
        }
    }