NodeList nodeList = element.getChildNodes();
for (int i=0;i<nodeList.getLength();i++) {
Node node = nodeList.item(i);
if (node instanceof Element) {
Element el = (Element)node;
IXMLElement xmlEl = LoadFactory.loadObject(el);
if (xmlEl == null)
continue;
xmlEl.restore(el);
shapes.add((AbstractModelShape)xmlEl);
}
}
}
else {