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