Package edu.uci.ics.jung.io
Class GraphMLMetadata<T>
- java.lang.Object
-
- edu.uci.ics.jung.io.GraphMLMetadata<T>
-
public class GraphMLMetadata<T> extends java.lang.Object
Maintains information relating to data for the specified type. This includes a transformer from objects to their values, a default value, and a description.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
default_value
The default value for objects of this type.java.lang.String
description
The description of this data type.org.apache.commons.collections4.Transformer<T,java.lang.String>
transformer
A transformer from objects to string representations of their values.
-
Constructor Summary
Constructors Constructor Description GraphMLMetadata(java.lang.String description, java.lang.String default_value, org.apache.commons.collections4.Transformer<T,java.lang.String> transformer)
Creates a new instance with the specified description, default value, and transformer.
-
-
-
Field Detail
-
description
public java.lang.String description
The description of this data type.
-
default_value
public java.lang.String default_value
The default value for objects of this type.
-
transformer
public org.apache.commons.collections4.Transformer<T,java.lang.String> transformer
A transformer from objects to string representations of their values.
-
-
Constructor Detail
-
GraphMLMetadata
public GraphMLMetadata(java.lang.String description, java.lang.String default_value, org.apache.commons.collections4.Transformer<T,java.lang.String> transformer)
Creates a new instance with the specified description, default value, and transformer.
-
-