it.eng.spagobi.engines.network.businness
Class NetworkBuilder

java.lang.Object
  extended by it.eng.spagobi.engines.network.businness.NetworkBuilder

public class NetworkBuilder
extends java.lang.Object


Constructor Summary
NetworkBuilder()
           
 
Method Summary
static INetwork buildNetwork(it.eng.spagobi.tools.dataset.bo.IDataSet dataSet, NetworkTemplate template)
          Create the Network Object from the Template and the DataSet
static JSONNetwork buildNetworkFromDataset(it.eng.spagobi.tools.dataset.bo.IDataSet dataSet, NetworkTemplate template)
          Creates the Node/Edge structure from the DataSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkBuilder

public NetworkBuilder()
Method Detail

buildNetwork

public static INetwork buildNetwork(it.eng.spagobi.tools.dataset.bo.IDataSet dataSet,
                                    NetworkTemplate template)
                             throws org.json.JSONException
Create the Network Object from the Template and the DataSet

Parameters:
dataSet -
template -
Returns:
Throws:
org.json.JSONException

buildNetworkFromDataset

public static JSONNetwork buildNetworkFromDataset(it.eng.spagobi.tools.dataset.bo.IDataSet dataSet,
                                                  NetworkTemplate template)
                                           throws org.json.JSONException
Creates the Node/Edge structure from the DataSet

Parameters:
dataSet -
template -
Returns:
Throws:
org.json.JSONException