if (sbmlDoc.getExtension(namespaceURI) != null) {
compSBMLDoc = (CompSBMLDocumentPlugin) sbmlDoc.getExtension(namespaceURI);
} else {
compSBMLDoc = new CompSBMLDocumentPlugin(sbmlDoc);
sbmlDoc.addExtension(namespaceURI, compSBMLDoc);
}
if (elementName.equals(CompConstants.listOfExternalModelDefinitions))
{
return compSBMLDoc.getListOfExternalModelDefinitions();