edu.uci.ics.jung.io.graphml.GraphMLDocument Maven / Gradle / Ivy
/*
* Copyright (c) 2008, The JUNG Authors
*
* All rights reserved.
*
* This software is open-source under the BSD license; see either
* "license.txt" or
* https://github.com/jrtom/jung/blob/master/LICENSE for a description.
*/
package edu.uci.ics.jung.io.graphml;
import java.util.ArrayList;
import java.util.List;
/**
* Maintains all the metadata read in from a single GraphML XML document.
*/
public class GraphMLDocument {
final private KeyMap keyMap = new KeyMap();
final private List graphMetadata = new ArrayList();
public KeyMap getKeyMap() {
return keyMap;
}
public List getGraphMetadata() {
return graphMetadata;
}
public void clear() {
graphMetadata.clear();
keyMap.clear();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy