|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.data.writers.XGMMLWriter
public class XGMMLWriter
Write network and attributes in XGMML format and
marshall it in a streme.
XGMMLReader
Field Summary | |
---|---|
static String |
BACKGROUND
|
protected static int |
EDGE
|
static String |
ENCODE_PROPERTY
|
static String |
ENCODING
|
static String |
GRAPH_VIEW_CENTER_X
|
static String |
GRAPH_VIEW_CENTER_Y
|
static String |
GRAPH_VIEW_ZOOM
|
protected static String |
METANODE
|
protected static int |
NETWORK
|
protected static int |
NODE
|
protected static String |
NORMAL
|
protected static String |
REFERENCE
|
Constructor Summary | |
---|---|
XGMMLWriter(CyNetwork network,
CyNetworkView view)
Constructor. Initialize data objects to be saved in XGMML file. |
|
XGMMLWriter(CyNetwork network,
CyNetworkView view,
boolean noCytoscapeGraphics)
Constructor. Initialize data objects to be saved in XGMML file. |
Method Summary | |
---|---|
boolean |
isDoFullEncoding()
|
void |
setDoFullEncoding(boolean doFullEnc)
|
void |
write(Writer writer)
Write the XGMML file. This method creates all JAXB objects from Cytoscape internal data structure, and them marshall it into an XML (XGMML) document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ENCODING
protected static final String NORMAL
protected static final String METANODE
protected static final String REFERENCE
protected static final int NODE
protected static final int EDGE
protected static final int NETWORK
public static final String BACKGROUND
public static final String GRAPH_VIEW_ZOOM
public static final String GRAPH_VIEW_CENTER_X
public static final String GRAPH_VIEW_CENTER_Y
public static final String ENCODE_PROPERTY
Constructor Detail |
---|
public XGMMLWriter(CyNetwork network, CyNetworkView view) throws IOException, URISyntaxException
network
- CyNetwork object to be saved.view
- CyNetworkView for the network.
URISyntaxException
JAXBException
IOException
public XGMMLWriter(CyNetwork network, CyNetworkView view, boolean noCytoscapeGraphics) throws IOException, URISyntaxException
network
- CyNetwork object to be saved.view
- CyNetworkView for the network.noCytoscapeGraphics
- boolean to indicate whether cytoscape graphics
attributes should be written
URISyntaxException
JAXBException
IOException
Method Detail |
---|
public void write(Writer writer) throws IOException
writer
- Witer to create XGMML file
IOException
public boolean isDoFullEncoding()
public void setDoFullEncoding(boolean doFullEnc)
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |