Enum GEXFExporter.Parameter

java.lang.Object
java.lang.Enum<GEXFExporter.Parameter>
org.jgrapht.nio.gexf.GEXFExporter.Parameter
All Implemented Interfaces:
Serializable, Comparable<GEXFExporter.Parameter>, java.lang.constant.Constable
Enclosing class:
GEXFExporter<V,E>

public static enum GEXFExporter.Parameter extends Enum<GEXFExporter.Parameter>
Parameters that affect the behavior of the exporter.
  • Enum Constant Details

    • EXPORT_EDGE_WEIGHTS

      public static final GEXFExporter.Parameter EXPORT_EDGE_WEIGHTS
      If set the exporter outputs edge weights
    • EXPORT_EDGE_LABELS

      public static final GEXFExporter.Parameter EXPORT_EDGE_LABELS
      If set the exporter outputs edge labels. Labels are looked up from the edge attribute provider.
    • EXPORT_EDGE_TYPES

      public static final GEXFExporter.Parameter EXPORT_EDGE_TYPES
      If set the exporter outputs edge types. Edge types are looked up from the type of the graph. Mixed graphs are not supported.
    • EXPORT_META

      public static final GEXFExporter.Parameter EXPORT_META
      If set the exporter outputs the metadata information. This is true by default.
  • Method Details

    • values

      public static GEXFExporter.Parameter[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static GEXFExporter.Parameter valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null