code: @Override
      public <A> A fromXML(String xml, Class<A> clazz) {
          try {
              return xmlMapper().readValue(xml, clazz);
          } catch (IOException e) {
              throw new RuntimeException(e);
          }
      }
docs: Builds a new instance of the given class <em>clazz</em> from the given XML string.
  
  @param xml   the XML string
  @param clazz the class of the instance to construct
  @return an instance of the class.