|
Cytoscape 2.5.1 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcytoscape.data.readers.MetadataParser
public class MetadataParser
Manipulates network metadata for loading and saving.
Field Summary | |
---|---|
static String |
DEFAULT_NETWORK_METADATA_LABEL
|
Constructor Summary | |
---|---|
MetadataParser(CyNetwork network)
Constructor. |
|
MetadataParser(CyNetwork network,
String metadataLabel)
Constructor. |
Method Summary | |
---|---|
cytoscape.generated2.RdfRDF |
getMetadata()
Get metadata as an RDF object |
Map |
getMetadataMap()
Get Network Metadata as Map object |
Map<String,String> |
makeNewMetadataMap()
Build new metadata RDF structure based on given network information. |
void |
setMetadata(MetadataEntries entryName,
String value)
DOCUMENT ME! |
void |
setMetadata(cytoscape.generated2.RdfRDF newMetadata)
Set Network Attribute called "Network Metadata" as a Map by using given JAXB object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_NETWORK_METADATA_LABEL
Constructor Detail |
---|
public MetadataParser(CyNetwork network)
network
- Target network for editing metadata.public MetadataParser(CyNetwork network, String metadataLabel)
network
- Target networkmetadataLabel
- Label used as a tag for this attribute.Method Detail |
---|
public Map<String,String> makeNewMetadataMap()
public cytoscape.generated2.RdfRDF getMetadata() throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public Map getMetadataMap()
URISyntaxException
public void setMetadata(MetadataEntries entryName, String value)
entryName
- DOCUMENT ME!value
- DOCUMENT ME!public void setMetadata(cytoscape.generated2.RdfRDF newMetadata)
newMetadata
-
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |