if (newElement != null) {
return newElement;
}
}
else if (contextObject instanceof GraphicalObject) {
GraphicalObject graphicalObject = (GraphicalObject) contextObject;
if (elementName.equals(boundingBox)) {
BoundingBox bbox = new BoundingBox();
graphicalObject.setBoundingBox(bbox);
return bbox;
}
if (graphicalObject instanceof ReactionGlyph)