java.lang.Object
java.lang.Enum<GEXFExporter.Parameter>
org.jgrapht.nio.gexf.GEXFExporter.Parameter
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GEXFExporter.Parameter>
,java.lang.constant.Constable
- Enclosing class:
- GEXFExporter<V,E>
public static enum GEXFExporter.Parameter extends java.lang.Enum<GEXFExporter.Parameter>
Parameters that affect the behavior of the exporter.
-
Nested Class Summary
-
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
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.
-
Enum Constant Details
-
EXPORT_EDGE_WEIGHTS
If set the exporter outputs edge weights -
EXPORT_EDGE_LABELS
If set the exporter outputs edge labels. Labels are looked up from the edge attribute provider. -
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
If set the exporter outputs the metadata information. This is true by default.
-
-
Method Details
-
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
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 namejava.lang.NullPointerException
- if the argument is null
-