edu.uci.ics.jung.io.graphml
Class AbstractMetadata
java.lang.Object
edu.uci.ics.jung.io.graphml.AbstractMetadata
- All Implemented Interfaces:
- Metadata
- Direct Known Subclasses:
- EdgeMetadata, EndpointMetadata, GraphMetadata, HyperEdgeMetadata, NodeMetadata, PortMetadata
public abstract class AbstractMetadata
- extends Object
- implements Metadata
Abstract base class for metadata - implements the property functionality
- Author:
- Nathan Mittler - nathan.mittler@gmail.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractMetadata
public AbstractMetadata()
getProperties
public Map<String,String> getProperties()
- Description copied from interface:
Metadata
- Gets any properties that were associated with this metadata in the
GraphML
- Specified by:
getProperties
in interface Metadata
- Returns:
- GraphML properties
getProperty
public String getProperty(String key)
setProperty
public String setProperty(String key,
String value)
addData
public void addData(DataMetadata data)
Copyright © 2009. All Rights Reserved.