com.sparsity.sparksee.gdb
Enum ExportType

java.lang.Object
  extended by java.lang.Enum<ExportType>
      extended by com.sparsity.sparksee.gdb.ExportType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ExportType>

public enum ExportType
extends java.lang.Enum<ExportType>

Export type.

Author:
Sparsity Technologies http://www.sparsity-technologies.com

Enum Constant Summary
GraphML
          Export to GraphML format.
Graphviz
          Export to Graphviz format.
YGraphML
          Export to YGRAPHML format.
 
Method Summary
static ExportType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ExportType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Graphviz

public static final ExportType Graphviz
Export to Graphviz format.

Graphviz home page: http://www.graphviz.org


GraphML

public static final ExportType GraphML
Export to GraphML format.

GraphML home page: http://graphml.graphdrawing.org/


YGraphML

public static final ExportType YGraphML
Export to YGRAPHML format.

It is an GraphML format extended with a set of yWorks ("http://www.yworks.com") extensions. Thus, it allows for the visualization of the exported graph with the public yEd visualization tool ("http://www.yworks.com/products/yed").

Method Detail

values

public static ExportType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ExportType c : ExportType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ExportType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null