return result;
}
public void openCustomizationVersion(InputStream inputstream,
FComponent featureModel) throws IOException, JDOMException {
CustomizationModelImplementation cmi = (CustomizationModelImplementation)featureModel.getInterface(de.FeatureModellingTool.FeatureModel.Manager.CUSTOMIZATION_MODEL_INTERFACE);
Namespace cmd = Namespace.getNamespace("cmd",
"http://sei.pku.edu.cn/DomainEngineering/customizationversion");
SAXBuilder saxBuilder = new SAXBuilder(false);
Document doc = saxBuilder.build(inputstream);
Element root = doc.getRootElement();
CustomizationVersion result = cmi.newCustomizationVersion(root.getAttributeValue("parentid") , root.getAttributeValue("id") , root.getAttributeValue("name") , root.getAttributeValue("bindingtimeid"));
for (Iterator itCustomization = root.getChildren(
"customization", cmd).iterator(); itCustomization.hasNext();) {
Element customization = (Element) itCustomization.next();