|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.io.gml.HierarchicGraphObjectEncoder
public class HierarchicGraphObjectEncoder
This class is capable of encoding a Hierarchic Graph in valid gml format. It is used by HierarchicGraphEncoderFactory.
Constructor Summary | |
---|---|
HierarchicGraphObjectEncoder(HierarchicGraphObjectEncoder parent)
|
|
HierarchicGraphObjectEncoder(ObjectEncoder graphEncoder,
ObjectEncoder interEdgeEncoder,
HierarchicGraphObjectEncoder parent)
|
Method Summary | |
---|---|
java.lang.String |
createNodeReference(Graph forGraph,
Node n,
HierarchyManager hm)
Creates the reference string for a node in the given graph given a hierarchy manager. |
void |
encode(java.lang.Object item,
GMLEncoder enc)
This method will try to encode the given object using the GMLEncoder |
ObjectEncoder |
getGraphEncoder()
Getter for property graphEncoder. |
ObjectEncoder |
getInterEdgeEncoder()
Getter for property interEdgeEncoder. |
java.util.List |
getInterEdgeList()
Retrieves the list that contains all inter edges that have been parsed. |
void |
setGraphEncoder(ObjectEncoder graphEncoder)
Setter for property graphEncoder. |
void |
setInterEdgeEncoder(ObjectEncoder interEdgeEncoder)
Setter for property interEdgeEncoder. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HierarchicGraphObjectEncoder(HierarchicGraphObjectEncoder parent)
public HierarchicGraphObjectEncoder(ObjectEncoder graphEncoder, ObjectEncoder interEdgeEncoder, HierarchicGraphObjectEncoder parent)
Method Detail |
---|
public void encode(java.lang.Object item, GMLEncoder enc) throws java.io.IOException
ObjectEncoder
encode
in interface ObjectEncoder
item
- the object to be encodedenc
- an encoder
java.io.IOException
- in the case of an I/O exceptionpublic ObjectEncoder getInterEdgeEncoder()
public void setInterEdgeEncoder(ObjectEncoder interEdgeEncoder)
interEdgeEncoder
- New value of property interEdgeEncoder.public java.util.List getInterEdgeList()
InterEdge
.
public java.lang.String createNodeReference(Graph forGraph, Node n, HierarchyManager hm)
public ObjectEncoder getGraphEncoder()
public void setGraphEncoder(ObjectEncoder graphEncoder)
graphEncoder
- New value of property graphEncoder.
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |