edu.uci.ics.jung.io.graphml.Metadata Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jung-io Show documentation
Show all versions of jung-io Show documentation
IO support classes for JUNG
The newest version!
/*
* 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.Map;
/**
* Interface for any GraphML metadata.
*
* @author Nathan Mittler - [email protected]
*/
public interface Metadata {
/**
* Metadata type enumeration
*/
enum MetadataType {
GRAPH, NODE, EDGE, HYPEREDGE, PORT, ENDPOINT
}
/**
* Gets the metadata type of this object.
*
* @return the metadata type
*/
MetadataType getMetadataType();
/**
* Gets any properties that were associated with this metadata in the
* GraphML
*
* @return GraphML properties
*/
Map getProperties();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy