spatialCompartment = new SpatialCompartmentPlugin(compartment);
compartment.addExtension(SpatialConstants.namespaceURI, spatialCompartment);
}
if (elementName.equals(SpatialConstants.compartmentMapping)) {
CompartmentMapping compartmentMapping = new CompartmentMapping();
spatialCompartment.setCompartmentMapping(compartmentMapping);
return compartmentMapping;
}
} else if (contextObject instanceof Parameter) {
Parameter param = (Parameter) contextObject;