cytoscape.data.readers
Class MetadataParser

java.lang.Object
  extended by cytoscape.data.readers.MetadataParser

public class MetadataParser
extends Object

This class manipulates network meta data.

Author:
kono

Constructor Summary
MetadataParser(CyNetwork network)
           
MetadataParser(CyNetwork network, String metadataLabel)
           
 
Method Summary
 RdfRDF getMetadata()
           
 boolean hasMetadata()
           
protected  HashMap makeNewMetadataMap()
          Build metadata RDF structure based on given network information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataParser

public MetadataParser(CyNetwork network)

MetadataParser

public MetadataParser(CyNetwork network,
                      String metadataLabel)
Method Detail

makeNewMetadataMap

protected HashMap makeNewMetadataMap()
                              throws URISyntaxException
Build metadata RDF structure based on given network information. Data items in "defaultLabels" will be created and inserted into RDF structure.

Throws:
URISyntaxException

getMetadata

public RdfRDF getMetadata()
                   throws javax.xml.bind.JAXBException,
                          URISyntaxException
Throws:
javax.xml.bind.JAXBException
URISyntaxException

hasMetadata

public boolean hasMetadata()