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