/** * Get the XML of the first element matched by xpath and within the experiment range. * * @param xpath xpath to find the element. * @return String XML string matched. */ private String getFirstXmlString(String xpath) { String xml = null; Iterator<String> xmlStrs = indexer.getXmlStringIterator(xpath); if (xmlStrs != null && xmlStrs.hasNext()) { xml = xmlStrs.next(); } return xml; }
/** * @param xpath * @return */ public Iterator<String> getPrideXmlEntries(String xpath) { return indexer.getXmlStringIterator(xpath); }