if (graphs.getLength() > 1)
throw new IllegalArgumentException("duplicate graph element");
Element graphElement = (Element)graphs.item(0);
DOMExperimentGraphMLHandler<TARGET_TYPE,CACHE_TYPE> graphHandler = new DOMExperimentGraphMLHandler<TARGET_TYPE,CACHE_TYPE>(result.config);
GraphMLFile graphmlFile = new GraphMLFile();
graphmlFile.setGraphMLFileHandler(graphHandler);
synchronized(AbstractLearnerGraph.syncObj)
{// multi-core execution understandably fails if I forget to sync on that object
try
{
graphHandler.startElement(graphElement.getNamespaceURI(), graphElement.getLocalName(), graphElement.getNodeName(), Attributes_DOM_to_SAX(graphElement.getAttributes())); // so as to applease the lack of any clue Jung has about graphml namespaces