public static void init() {
                 try {
            JAXBContext jc = JAXBContext.newInstance ("generated");

            Unmarshaller u = jc.createUnmarshaller ();

           File f = new File (pathname);
           JAXBElement element = (JAXBElement) u.unmarshal (f);
           
           rootElement = element;
           
           
       } catch (JAXBException e) {
           e.printStackTrace ();
       }
    }