Enum GEXFExporter.Parameter

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static GEXFExporter.Parameter valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static GEXFExporter.Parameter[] 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

      • 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 Detail

      • values

        public static GEXFExporter.Parameter[] 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 (GEXFExporter.Parameter c : GEXFExporter.Parameter.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static GEXFExporter.Parameter 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