code: private static Definition inputFromXml(String defxml) throws IOException, JAXBException
     {
        JAXBContext context = JAXBContext.newInstance("org.ironjacamar.codegenerator");
        Unmarshaller unmarshaller = context.createUnmarshaller();
  
        return (Definition) unmarshaller.unmarshal(new File(defxml));
     }
docs: input from xml file
  
  @param defxml definition xml file
  @return Definition definition from input
  @throws IOException   ioException
  @throws JAXBException jaxb exception