Cytoscape 3.0.0-beta1 API

org.cytoscape.model
Interface CyNetworkFactory


public interface CyNetworkFactory

A singleton factory object used for instantiating CyNetwork objects. The CyNetworkFactory should be available as an OSGi service.


Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.

Method Summary
 CyNetwork createNetwork()
          Returns a new, empty CyNetwork object.
 CyNetwork createNetworkWithPrivateTables()
          Returns a new, empty CyNetwork object where the associated default tables are private.
 

Method Detail

createNetwork

CyNetwork createNetwork()
Returns a new, empty CyNetwork object.

Returns:
A new, empty CyNetwork object.

createNetworkWithPrivateTables

CyNetwork createNetworkWithPrivateTables()
Returns a new, empty CyNetwork object where the associated default tables are private. This method should only be used in special cases where the network created is not intended to be used or shared like a normal network within the system.

Returns:
A new, empty CyNetwork object.

Cytoscape 3.0.0-beta1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.