|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.io.gml.GraphObjectEncoder
This class is capable of encoding Graph in valid gml format. It is used by GMLIOHandler.
Constructor Summary | |
GraphObjectEncoder()
|
|
GraphObjectEncoder(ObjectEncoder nodeEncoder,
ObjectEncoder edgeEncoder)
|
Method Summary | |
void |
encode(Object item,
GMLEncoder enc)
This method will try to encode the given object using the GMLEncoder |
ObjectEncoder |
getEdgeEncoder()
Getter for property edgeEncoder. |
ObjectEncoder |
getNodeEncoder()
Getter for property nodeEncoder. |
void |
setEdgeEncoder(ObjectEncoder edgeEncoder)
Setter for property edgeEncoder. |
void |
setNodeEncoder(ObjectEncoder nodeEncoder)
Setter for property nodeEncoder. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GraphObjectEncoder()
public GraphObjectEncoder(ObjectEncoder nodeEncoder, ObjectEncoder edgeEncoder)
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 getEdgeEncoder()
public void setEdgeEncoder(ObjectEncoder edgeEncoder)
edgeEncoder
- New value of property edgeEncoder.public ObjectEncoder getNodeEncoder()
public void setNodeEncoder(ObjectEncoder nodeEncoder)
nodeEncoder
- New value of property nodeEncoder.
|
© 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 |