public static XmlSettings getInstance() { if (xmlSettings == null) { xmlSettings = new XmlSettings(); xmlSettings.load(); } return xmlSettings; }