@Override public List<YExportable> read(Reader reader, Object... hints) throws TransformationException { NlmIdGenerator idGen = TransformerUtils.getHint(hints, NlmIdGenerator.class); if (idGen != null) { this.idGenerator.set(idGen); } try { List<YExportable> el; el = readNlm(reader,hints); return el; } catch (Exception ex) { log.info(ex.getMessage()); throw new TransformationException(ex); } }