code: @Override
      public Agreement getWsagObject(String serializedData) throws ParserException{
          Agreement agreementXML = null;
          try{
              logger.info("Will parse {}", serializedData);
              JAXBContext jaxbContext = JAXBContext.newInstance(Agreement.class);
              Unmarshaller jaxbUnmarshaller = jaxbContext.createUnmarshaller();
              jaxbUnmarshaller.setEventHandler(new ValidationHandler());
              agreementXML = (Agreement)jaxbUnmarshaller.unmarshal(new StringReader(serializedData));
              logger.info("Agreement parsed {}", agreementXML);
          }catch(JAXBException e){
              throw new ParserException(e);
          }
          return agreementXML;
      }
docs: /*
  getWsagObject receives in serializedData the object information in xml
  must returns a eu.atos.sla.parser.data.wsag.Agreement