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