You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The class org.jabref.logic.importer.fileformat.MedlineImporter uses JAXB, but can be rewritten using a StAX-Parser and thus getting rid of a JAXB dependency.
Example:
Old code:
ObjectunmarshalledObject = unmarshallRoot(reader);
// check whether we have an article set, an article, a book article or a book article setif (unmarshalledObjectinstanceofPubmedArticleSet) {
PubmedArticleSetarticleSet = (PubmedArticleSet) unmarshalledObject;
for (Objectarticle : articleSet.getPubmedArticleOrPubmedBookArticle()) {
if (articleinstanceofPubmedArticle) {
The class
org.jabref.logic.importer.fileformat.MedlineImporter
uses JAXB, but can be rewritten using a StAX-Parser and thus getting rid of a JAXB dependency.Example:
Old code:
New code:
The text was updated successfully, but these errors were encountered: