edu.uci.ics.jung.io.graphml
Class AbstractMetadata

java.lang.Object
  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface edu.uci.ics.jung.io.graphml.Metadata
Metadata.MetadataType
 
Constructor Summary
AbstractMetadata()
           
 
Method Summary
 void addData(DataMetadata data)
           
 Map<String,String> getProperties()
          Gets any properties that were associated with this metadata in the GraphML
 String getProperty(String key)
           
 String setProperty(String key, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.uci.ics.jung.io.graphml.Metadata
getMetadataType
 

Constructor Detail

AbstractMetadata

public AbstractMetadata()
Method Detail

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.