class XmlSettingsReader {

    public List<String> getStringListProperty(String tagName) {
        List<String> propertyStrings = new ArrayList<>();
        NodeList propertyList = doc.getElementsByTagName(tagName);

        if (propertyList.getLength() == 0) {
            return propertyStrings;
        }

        if (propertyList.item(0).getNodeType() == Node.ELEMENT_NODE) {
            Element parentElement = (Element) propertyList.item(0);

            NodeList childProperties = parentElement.getElementsByTagName("param");

            for (int i = 0; i < childProperties.getLength(); i++) {
                propertyStrings.add(childProperties.item(i).getTextContent().trim());
            }
        }

        return propertyStrings;
    }

    public  XmlSettingsReader(String xmlString);

}