com.sfm.ap210.jsdai.utils
Class GraphMLWriter

java.lang.Object
  extended by com.sfm.ap210.jsdai.utils.GraphMLWriter

public class GraphMLWriter
extends java.lang.Object

This utility supports writing a GraphML format connectivity graph of an entity subset.


Constructor Summary
GraphMLWriter(jsdai.lang.AEntity entities)
          Create a new writer that will dump the connectivity graph of the given entities
GraphMLWriter(jsdai.lang.SdaiModel model)
          Create a new writer that will dump the connectivity graph of all instances in the given model
 
Method Summary
 void write(java.io.File file)
          Dump a GraphML report of the entity connectivity graph to the file specified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphMLWriter

public GraphMLWriter(jsdai.lang.AEntity entities)
Create a new writer that will dump the connectivity graph of the given entities

Parameters:
entities -

GraphMLWriter

public GraphMLWriter(jsdai.lang.SdaiModel model)
              throws jsdai.lang.SdaiException
Create a new writer that will dump the connectivity graph of all instances in the given model

Parameters:
model -
Throws:
jsdai.lang.SdaiException
Method Detail

write

public void write(java.io.File file)
           throws jsdai.lang.SdaiException,
                  java.io.IOException
Dump a GraphML report of the entity connectivity graph to the file specified

Parameters:
file -
Throws:
jsdai.lang.SdaiException
java.io.IOException