간단한 unmarshal 예제
public static Config getConfigData(String path){ Config element = null; try { JAXBContext jaxbContext = JAXBContext.newInstance(Config.class); Unmarshaller unmarshaller = jaxbContext.createUnmarshaller(); element = (Config) unmarshaller.unmarshal (new InputStreamReader(new FileInputStream(path),"UTF-8")); System.out.println (element.getId() ); System.out.println (element.getName() ); } catch (Fi..