code: @SuppressWarnings("unchecked")
      @NotNull
      public <TYPE> TYPE create(@NotNull final Reader reader, @NotNull final JAXBContext jaxbContext) throws UnmarshalObjectException {
          Contract.requireArgNotNull("reader", reader);
          Contract.requireArgNotNull("jaxbContext", jaxbContext);
          try {
              final Unmarshaller unmarshaller = jaxbContext.createUnmarshaller();
              final TYPE obj = (TYPE) unmarshaller.unmarshal(reader);
              return obj;
          } catch (final JAXBException ex) {
              throw new UnmarshalObjectException("Unable to parse XML from reader", ex);
          }
      }
docs: Creates an instance by reading the XML from a reader.
  
  @param reader
  Reader to use.
  @param jaxbContext
  Context to use.
  
  @return New instance.
  
  @throws UnmarshalObjectException
  Error deserializing the object.
  
  @param <TYPE>
  Type of the created object.