use of org.vcell.pathway.RnaRegion in project vcell by virtualcell.
the class PathwayReader method addObjectRnaRegion.
private RnaRegion addObjectRnaRegion(Element element) {
RnaRegion rnaRegion = new RnaRegion();
addAttributes(rnaRegion, element);
for (Object child : element.getChildren()) {
if (child instanceof Element) {
Element childElement = (Element) child;
if (!addContentRnaRegion(rnaRegion, element, childElement)) {
showUnexpected(childElement, rnaRegion);
}
}
}
pathwayModel.add(rnaRegion);
return rnaRegion;
}
Aggregations