public void expandXrefs() { for (Frame f : sourceOBODoc.getTermFrames()) { String id = f.getTagValue(OboFormatTag.TAG_ID, String.class); Collection<Clause> clauses = f.getClauses(OboFormatTag.TAG_XREF); for (Clause c : clauses) { Xref x = c.getValue(Xref.class); if (x != null) { String xid = x.getIdref(); String s = getIDSpace(xid); if (treatMap.containsKey(s)) { treatMap.get(s).expand(f, id, xid); } } } } }
/** * Expand xrefs. */ public void expandXrefs() { for (Frame f : sourceOBODoc.getTermFrames()) { String id = checkNotNull(f.getTagValue(OboFormatTag.TAG_ID, String.class)); Collection<Clause> clauses = f.getClauses(OboFormatTag.TAG_XREF); for (Clause c : clauses) { Xref x = c.getValue(Xref.class); String xid = x.getIdref(); String s = getIDSpace(xid); if (treatMap.containsKey(s)) { treatMap.get(s).expand(f, id, xid); } } } }
/** * Expand xrefs. */ public void expandXrefs() { for (Frame f : sourceOBODoc.getTermFrames()) { String id = checkNotNull(f.getTagValue(OboFormatTag.TAG_ID, String.class)); Collection<Clause> clauses = f.getClauses(OboFormatTag.TAG_XREF); for (Clause c : clauses) { Xref x = c.getValue(Xref.class); String xid = x.getIdref(); String s = getIDSpace(xid); if (treatMap.containsKey(s)) { treatMap.get(s).expand(f, id, xid); } } } }
/** * Expand xrefs. */ public void expandXrefs() { for (Frame f : sourceOBODoc.getTermFrames()) { String id = checkNotNull(f.getTagValue(OboFormatTag.TAG_ID, String.class)); Collection<Clause> clauses = f.getClauses(OboFormatTag.TAG_XREF); for (Clause c : clauses) { Xref x = c.getValue(Xref.class); String xid = x.getIdref(); String s = getIDSpace(xid); if (treatMap.containsKey(s)) { treatMap.get(s).expand(f, id, xid); } } } }
/** * Expand xrefs. */ public void expandXrefs() { for (Frame f : sourceOBODoc.getTermFrames()) { String id = checkNotNull(f.getTagValue(OboFormatTag.TAG_ID, String.class)); Collection<Clause> clauses = f.getClauses(OboFormatTag.TAG_XREF); for (Clause c : clauses) { Xref x = c.getValue(Xref.class); String xid = x.getIdref(); String s = getIDSpace(xid); if (treatMap.containsKey(s)) { treatMap.get(s).expand(f, id, xid); } } } }