### Question:
ClinvarParser { public static Object loadXMLInfo(String filename) throws JAXBException { Object obj = null; JAXBContext jaxbContext = JAXBContext.newInstance(CLINVAR_CONTEXT_v59); Unmarshaller unmarshaller = jaxbContext.createUnmarshaller(); obj = unmarshaller.unmarshal(new File(filename)); return obj; }  static void saveXMLInfo(Object obj, String filename); static Object loadXMLInfo(String filename); static Object loadXMLInfo(String filename, String clinvarVersion); final static String CLINVAR_CONTEXT_v59; }### Answer:
@Test public void loadXMLInfo() { try { JAXBElement<ReleaseType> objectFactory = (JAXBElement<ReleaseType>)ClinvarParser .loadXMLInfo("/home/imedina/Downloads/ClinVarFullRelease_00-latest.xml.gz", ClinvarParser.CLINVAR_CONTEXT_v59); for (PublicSetType publicSetType : objectFactory.getValue().getClinVarSet()) { System.out.println("publicSetType.getTitle() = " + publicSetType.getTitle()); break; } System.out.println(objectFactory.getValue().getClinVarSet().size()); } catch (JAXBException | IOException e) { e.printStackTrace(); } }