Search in sources :

Example 1 with ModificationFeatureImpl

use of org.vcell.pathway.ModificationFeatureImpl in project vcell by virtualcell.

the class PathwayReaderBiopax3 method addObjectModificationFeature.

private ModificationFeature addObjectModificationFeature(Element element) {
    ModificationFeature modificationFeature = new ModificationFeatureImpl();
    addAttributes(modificationFeature, element);
    for (Object child : element.getChildren()) {
        if (child instanceof Element) {
            Element childElement = (Element) child;
            if (!addContentModificationFeature(modificationFeature, element, childElement)) {
                showUnexpected(childElement);
            }
        }
    }
    pathwayModel.add(modificationFeature);
    return modificationFeature;
}
Also used : ModificationFeatureImpl(org.vcell.pathway.ModificationFeatureImpl) Element(org.jdom.Element) GroupObject(org.vcell.pathway.GroupObject) BioPaxObject(org.vcell.pathway.BioPaxObject) ModificationFeature(org.vcell.pathway.ModificationFeature)

Aggregations

Element (org.jdom.Element)1 BioPaxObject (org.vcell.pathway.BioPaxObject)1 GroupObject (org.vcell.pathway.GroupObject)1 ModificationFeature (org.vcell.pathway.ModificationFeature)1 ModificationFeatureImpl (org.vcell.pathway.ModificationFeatureImpl)1