-->
<class name="jalview.datamodel.xdb.embl.EmblFile">
<map-to xml="ROOT"/>
+ <field name="text" type="string">
+ <bind-xml node="text"/>
+ </field>
<field name="entries" type="jalview.datamodel.xdb.embl.EmblEntry" collection="vector">
<bind-xml name="entry"/>
</field>
Vector<EmblError> errors;
+ String text;
+
/**
* @return the entries
*/
}
}
}
+
+ public String getText()
+ {
+ return text;
+ }
+
+ public void setText(String text)
+ {
+ this.text = text;
+ }
}
}
}
+ /*
+ * invalid accession gets a reply with no <entry> elements, text content of
+ * EmbFile reads something like (e.g.) this ungrammatical phrase
+ * Entry: <acc> display type is either not supported or entry is not found.
+ */
List<SequenceI> peptides = new ArrayList<SequenceI>();
if (efile != null && efile.getEntries() != null)
{