- java.lang.Object
-
- java.lang.Enum<GEXFExporter.Parameter>
-
- org.jgrapht.nio.gexf.GEXFExporter.Parameter
-
- All Implemented Interfaces:
Serializable
,Comparable<GEXFExporter.Parameter>
- Enclosing class:
- GEXFExporter<V,E>
public static enum GEXFExporter.Parameter extends Enum<GEXFExporter.Parameter>
Parameters that affect the behavior of the exporter.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXPORT_EDGE_LABELS
If set the exporter outputs edge labels.EXPORT_EDGE_TYPES
If set the exporter outputs edge types.EXPORT_EDGE_WEIGHTS
If set the exporter outputs edge weightsEXPORT_META
If set the exporter outputs the metadata information.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GEXFExporter.Parameter
valueOf(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.
-
-
-
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(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 nameNullPointerException
- if the argument is null
-
-