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