cytoscape.data.readers
Class MetadataParser
java.lang.Object
cytoscape.data.readers.MetadataParser
public class MetadataParser
- extends Object
This class manipulates network meta data.
- Author:
- kono
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetadataParser
public MetadataParser(CyNetwork network)
MetadataParser
public MetadataParser(CyNetwork network,
String metadataLabel)
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()