| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectde.grogra.ext.exchangegraph.IOContext
public class IOContext
The IOContext contains informations about import and export the exchange graph format.
 If the same context is used for import and export you can
 use the same data, eg. give the same GroIMP nodes the same XEG node id,
 see node map. This is used for example in the
 OpenAlea plugin.
| Field Summary | |
|---|---|
| static java.util.HashMap<java.lang.String,java.lang.String> | exportNodeTypesMapping of GroIMP node types to standard XEG node types. | 
| static java.util.HashMap<java.lang.String,java.lang.String> | importNodeTypesMapping of standard XEG node types to GroIMP node types. | 
| static java.util.HashMap<java.lang.Class,java.lang.Class> | xegNodeTypesMapping of GroIMP node types to XEG helper classes for import and export. | 
| Constructor Summary | |
|---|---|
| IOContext() | |
| Method Summary | |
|---|---|
|  BidirectionalHashMap<java.lang.Long,Edge> | getEdgeMap()Returns the edge map. | 
|  BidirectionalHashMap<java.lang.Integer,java.lang.String> | getEdgeTypes()Returns the edge types map. | 
|  BidirectionalHashMap<java.lang.Long,Node> | getNodeMap()Returns the node map. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static java.util.HashMap<java.lang.String,java.lang.String> exportNodeTypes
public static java.util.HashMap<java.lang.String,java.lang.String> importNodeTypes
public static java.util.HashMap<java.lang.Class,java.lang.Class> xegNodeTypes
| Constructor Detail | 
|---|
public IOContext()
| Method Detail | 
|---|
public BidirectionalHashMap<java.lang.Long,Edge> getEdgeMap()
edge map.
public BidirectionalHashMap<java.lang.Integer,java.lang.String> getEdgeTypes()
edge types map.
public BidirectionalHashMap<java.lang.Long,Node> getNodeMap()
node map.
| 
 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||