|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.io.gml.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 | |
String |
createNodeReference(Graph forGraph,
Node n,
HierarchyManager hm)
|
void |
encode(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. |
List |
getInterEdgeList()
|
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(Object item, GMLEncoder enc) throws IOException
ObjectEncoder
encode
in interface ObjectEncoder
IOException
item
- the object to be encodedenc
- an encoderpublic ObjectEncoder getInterEdgeEncoder()
public void setInterEdgeEncoder(ObjectEncoder interEdgeEncoder)
interEdgeEncoder
- New value of property interEdgeEncoder.public List getInterEdgeList()
public String createNodeReference(Graph forGraph, Node n, HierarchyManager hm)
public ObjectEncoder getGraphEncoder()
public void setGraphEncoder(ObjectEncoder graphEncoder)
graphEncoder
- New value of property graphEncoder.
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |