use of org.vcell.pathway.TemplateReactionRegulation in project vcell by virtualcell.
the class PathwayReaderBiopax3 method addObjectTemplateReactionRegulation.
private TemplateReactionRegulation addObjectTemplateReactionRegulation(Element element) {
TemplateReactionRegulation templateReactionRegulation = new TemplateReactionRegulation();
addAttributes(templateReactionRegulation, element);
for (Object child : element.getChildren()) {
if (child instanceof Element) {
if (!addContentTemplateReactionRegulation(templateReactionRegulation, element, (Element) child)) {
showUnexpected((Element) child);
}
}
}
pathwayModel.add(templateReactionRegulation);
return templateReactionRegulation;
}
use of org.vcell.pathway.TemplateReactionRegulation in project vcell by virtualcell.
the class PathwayReader method addObjectTemplateReactionRegulation.
private TemplateReactionRegulation addObjectTemplateReactionRegulation(Element element) {
TemplateReactionRegulation templateReactionRegulation = new TemplateReactionRegulation();
addAttributes(templateReactionRegulation, element);
for (Object child : element.getChildren()) {
if (child instanceof Element) {
if (!addContentTemplateReactionRegulation(templateReactionRegulation, element, (Element) child)) {
showUnexpected((Element) child, templateReactionRegulation);
}
}
}
pathwayModel.add(templateReactionRegulation);
return templateReactionRegulation;
}
use of org.vcell.pathway.TemplateReactionRegulation in project vcell by virtualcell.
the class PathwayProducerBiopax3 method addContentTemplateReactionRegulation.
// evidence Evidence multiple
private Element addContentTemplateReactionRegulation(BioPaxObject bpObject, Element element) {
element = addContentControl(bpObject, element);
TemplateReactionRegulation ob = (TemplateReactionRegulation) bpObject;
Element tmpElement = null;
if (ob.getEvidence() != null && ob.getEvidence().size() > 0) {
List<Evidence> list = ob.getEvidence();
for (Evidence item : list) {
tmpElement = new Element("evidence", bp);
addIDToProperty(tmpElement, item);
mustPrintObject(item);
element.addContent(tmpElement);
}
}
return element;
}
Aggregations